summaryrefslogtreecommitdiffstats
path: root/blog/_layouts/post.html
blob: 8a3cccb23ccd81df8830140e314dce3a00b86770 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
layout: default
---

<article class="post">
  {% include post-header.html post = page %}
  <section class="post-body">
    <div class="post-image">
      {% if page.page-image %}
        {{ page.page-image | img: "magick:resize:590x" }}
      {% endif %}
    </div>
    {{ content }}
  </section>
  <footer>
    {% if page.previous %}
      <div class="prev-post"><a href="{{ page.previous.url | prepend: site.baseurl }}">{{ page.previous.title }}</a></div>
    {% endif %}
    {% if page.next %}
      <div class="next-post"><a href="{{ page.next.url | prepend: site.baseurl }}">{{ page.next.title }}</a></div>
    {% endif %}
  </footer>
</article>