2015-07-28 19:20:41 +00:00
|
|
|
{% extends 'base.html.twig' %}
|
2015-03-16 11:17:00 +00:00
|
|
|
|
2015-07-09 12:52:59 +00:00
|
|
|
{% block body_classes 'page--blog page--blog__post' %}
|
2015-06-18 16:49:25 +00:00
|
|
|
|
2015-03-16 11:17:00 +00:00
|
|
|
{% block content_wrapper %}
|
2015-07-09 07:39:46 +00:00
|
|
|
<main class="col-md-10">
|
2015-06-14 02:27:41 +00:00
|
|
|
{% include 'post-header' %}
|
2015-06-29 11:52:37 +00:00
|
|
|
|
2015-06-14 02:27:41 +00:00
|
|
|
{% block content %}{% endblock %}
|
2015-04-17 23:57:24 +00:00
|
|
|
|
2015-07-21 20:29:58 +00:00
|
|
|
{% if page.related -%}
|
2015-07-21 19:45:37 +00:00
|
|
|
<h2>Related Posts</h2>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
{% for relate in page.related -%}
|
|
|
|
<li><a href="{{ relate.source.url }}">{{ relate.title }}</a></li>
|
2015-07-21 20:29:58 +00:00
|
|
|
{% endfor %}
|
2015-07-21 19:45:37 +00:00
|
|
|
</ul>
|
2015-07-21 20:29:58 +00:00
|
|
|
{%- endif %}
|
2015-07-21 19:45:37 +00:00
|
|
|
|
2015-06-14 02:27:41 +00: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 08:15:16 +00:00
|
|
|
|
2015-06-14 02:27:41 +00:00
|
|
|
{% include 'about-author' %}
|
2015-05-28 17:01:03 +00:00
|
|
|
|
2015-06-14 02:27:41 +00: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 17:01:03 +00:00
|
|
|
|
2015-07-09 07:39:46 +00:00
|
|
|
</main>
|
2015-06-14 02:27:41 +00:00
|
|
|
{% endblock %}
|