Initial support for the related_posts plugin.

This commit is contained in:
Matt Klich 2016-02-12 17:58:47 -07:00
parent eac81087ee
commit 0e629861c4

View file

@ -34,6 +34,16 @@
<div class="addthis_sharing_toolbox"></div>
</div>
{% endif %}
{% if article.related_posts %}
<footer>
<h4>Related posts:</h4>
<ul>
{% for related_post in article.related_posts %}
<li><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></li>
{% endfor %}
</ul>
</footer>
{% endif %}
{% include "partial/disqus.html" %}
</article>
{% endblock %}