diff options
author | Ben Burwell <ben@benburwell.com> | 2015-03-30 02:46:14 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2015-03-30 02:46:14 -0400 |
commit | 2b59a0f8355ae8b4bf71cf5c2a365de91f5ebe1b (patch) | |
tree | baaeeeccef58a402b328b1abbdd667dca7e6b5f7 /_layouts/post.html | |
parent | 475275e0bb1d7e494ff3579595bf0e8dcda8474a (diff) |
redesign
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index ca44314..01e2484 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -5,10 +5,33 @@ layout: master <article itemscope itemtype="http://schema.org/BlogPosting" class="article"> <header> <h1 itemprop="headline">{{ page.title }}</h1> - <div class="date"><time itemprop="datePublished">{{ page.date | date: "%A, %-d %B %Y" }}</time></div> + <p><time itemprop="datePublished">{{ page.date | date: "%A, %-d %B %Y" }}</time></p> </header> <div itemprop="articleBody"> {{ content }} </div> </article> + +<div class="print-hide"> + <div class="split"> + {% if page.previous %} + <div class="left align-left sans"> + <a href="{{ page.previous.url }}"><i class="fa fa-chevron-left"></i> Previous Post</a> + </div> + {% endif %} + + {% if page.next %} + <div class="right align-right sans"> + <a href="{{ page.next.url }}">Next Post <i class="fa fa-chevron-right"></i></a> + </div> + {% endif %} + </div> + + <div class="center"> + <p><em>— Related Posts —</em></p> + {% for post in site.related_posts limit:3 %} + <p><a href="{{ post.url }}">{{ post.title }}</a></p> + {% endfor %} + </div> +</div> |