summaryrefslogblamecommitdiffstats
path: root/blog/_layouts/post.html
blob: 8a3cccb23ccd81df8830140e314dce3a00b86770 (plain) (tree)
1
2
3
4
5
6
7



               


                                            




                                                         

                 

                          
                                                                                                                          

                      
                                                                                                                  

               
          
---
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>