summaryrefslogtreecommitdiff
path: root/_layouts/post.html
blob: 1ff0a3ecd1f1635175256c740a7cf40f48d22219 (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>you may also enjoy&hellip;</p> -->
    {% for post in site.related_posts limit:3 %}
    <p class="sans"><a href="{{ post.url }}">{{ post.title }}</a></p>
    {% endfor %}
  </div>
</div>