%}
            <li><a href="{{url_for(path=item.slug ~ '.html')}}">{{item.title}}</a></li>
            {% endfor %}
        </ul>
    </section>
    {% endif %}

    {# Related content by tags #}
    {% if content.tags %}
    {% set tag = content.tags[0] %}
    {% set related_content = site_data.tag.map[tag] %}
    {% if related_content | length > 1 %}
    <section class="related-content">
        <h3>Related "{{ tag }}" content:</h3>
        <ul class="related-list">
            {% for item in related_cont