Added related posts

This commit is contained in:
Oliver Davies 2015-07-21 20:45:37 +01:00
parent 4fd3aae714
commit a08e99f36a

View file

@ -8,6 +8,16 @@
{% block content %}{% endblock %}
{% 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 %}
{% if page.tags %}
<p class="tags">
Tags: