bootstrap4-theme/templates/includes/related-posts.html

11 lines
341 B
HTML
Raw Permalink Normal View History

2019-04-19 18:30:55 +00:00
{% 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 %}