Skip to content

Commit

Permalink
Merge pull request academicpages#21 from roninb/post-layout
Browse files Browse the repository at this point in the history
added post layout
  • Loading branch information
benbalter authored Jan 30, 2018
2 parents c84111d + 36bd972 commit 18bf316
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -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 %}

0 comments on commit 18bf316

Please sign in to comment.