oliverdavies.uk/source/_includes/post/related.html.twig
2017-07-11 07:28:37 +01:00

12 lines
254 B
Twig

{% 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 %}