summaryrefslogtreecommitdiff
path: root/_layouts/post.html
blob: 01e248489000b4766a5c3098e4d131655b5be88c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
layout: master
---

<article itemscope itemtype="http://schema.org/BlogPosting" class="article">
    <header>
        <h1 itemprop="headline">{{ page.title }}</h1>
        <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>&mdash; Related Posts &mdash;</em></p>
    {% for post in site.related_posts limit:3 %}
    <p><a href="{{ post.url }}">{{ post.title }}</a></p>
    {% endfor %}
  </div>
</div>