sitolost/content/xtemplates/includes/related-posts.html
2019-10-23 14:37:16 +02:00

11 lines
341 B
HTML

{% if article.related_posts %}
<section class="well" id="related-posts">
<h4>{{ RELATED_POSTS_TEXT|default('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>
</section>
{% endif %}