added post layout

This commit is contained in:
Malik Butler 2018-01-27 09:17:03 -05:00
parent c84111dd37
commit 36bd972c7c
1 changed files with 14 additions and 0 deletions

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 %}