Added related posts
This commit is contained in:
parent
4fd3aae714
commit
a08e99f36a
|
@ -8,6 +8,16 @@
|
||||||
|
|
||||||
{% block content %}{% endblock %}
|
{% 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 %}
|
{% if page.tags %}
|
||||||
<p class="tags">
|
<p class="tags">
|
||||||
Tags:
|
Tags:
|
||||||
|
|
Reference in a new issue