Initial support for the related_posts plugin.
This commit is contained in:
parent
eac81087ee
commit
0e629861c4
1 changed files with 10 additions and 0 deletions
|
@ -34,6 +34,16 @@
|
||||||
<div class="addthis_sharing_toolbox"></div>
|
<div class="addthis_sharing_toolbox"></div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% 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" %}
|
{% include "partial/disqus.html" %}
|
||||||
</article>
|
</article>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue