{% if related_posts != empty %} <div id=“related-posts”>
<h3>Related posts</h3> <ul> {% for p in related_posts %} <li> <a href="{{ p.url }}" data-score="{{ p.score }}">{{ p.title }}</a> </li> {% endfor %} </ul>
</div> {% endif %}
{% if related_posts != empty %} <div id=“related-posts”>
<h3>Related posts</h3> <ul> {% for p in related_posts %} <li> <a href="{{ p.url }}" data-score="{{ p.score }}">{{ p.title }}</a> </li> {% endfor %} </ul>
</div> {% endif %}