2015-03-16 11:17:00 +00:00
|
|
|
{% extends 'default' %}
|
|
|
|
|
2015-07-09 13:52:59 +01:00
|
|
|
{% block body_classes 'page--blog page--blog__post' %}
|
2015-06-18 17:49:25 +01:00
|
|
|
|
2015-03-16 11:17:00 +00:00
|
|
|
{% block content_wrapper %}
|
2015-07-09 08:39:46 +01:00
|
|
|
<main class="col-md-10">
|
2015-06-14 03:27:41 +01:00
|
|
|
{% include 'post-header' %}
|
2015-06-29 12:52:37 +01:00
|
|
|
|
2015-06-14 03:27:41 +01:00
|
|
|
{% block content %}{% endblock %}
|
2015-04-18 00:57:24 +01:00
|
|
|
|
2015-07-21 20:45:37 +01:00
|
|
|
{% if page.related %}
|
|
|
|
<h2>Related Posts</h2>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
{% for relate in page.related -%}
|
|
|
|
<li><a href="{{ relate.source.url }}">{{ relate.title }}</a></li>
|
|
|
|
{%- endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
2015-06-14 03:27:41 +01:00
|
|
|
{% if page.tags %}
|
|
|
|
<p class="tags">
|
|
|
|
Tags:
|
|
|
|
{% for tag in page.tags %}
|
|
|
|
<a href="{{ site.url }}/blog/tags/{{ tag|url_encode(true) }}">{{ tag }}</a>{% if not loop.last %}, {% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2015-04-23 09:15:16 +01:00
|
|
|
|
2015-06-14 03:27:41 +01:00
|
|
|
{% include 'about-author' %}
|
2015-05-28 18:01:03 +01:00
|
|
|
|
2015-06-14 03:27:41 +01:00
|
|
|
{% if page.next_post or page.previous_post %}
|
|
|
|
<ul>
|
|
|
|
{% if page.next_post %}<li>Next post: <a href="{{ page.next_post.url }}">{{ page.next_post.title }}</a></li>{% endif %}
|
|
|
|
{% if page.previous_post %}<li>Previous post: <a href="{{ page.previous_post.url }}">{{ page.previous_post.title }}</a></li>{% endif %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2015-05-28 18:01:03 +01:00
|
|
|
|
2015-07-09 08:39:46 +01:00
|
|
|
</main>
|
2015-06-14 03:27:41 +01:00
|
|
|
{% endblock %}
|