Merge pull request #21 from roninb/post-layout

added post layout
This commit is contained in:
Ben Balter 2018-01-30 10:04:00 -05:00 committed by GitHub
commit 18bf3160e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
_layouts/post.html Normal file
View File

@ -0,0 +1,14 @@
---
layout: default
---
<small>{{ page.date | date: "%-d %B %Y" }}</small>
<h1>{{ page.title }}</h1>
<p class="view">by {{ page.author | default: site.author }}</p>
{{content}}
{% if page.tags %}
<small>tags: <em>{{ page.tags | join: "</em> - <em>" }}</em></small>
{% endif %}