{% extends "base.html" %} {% set has_right = True %} {% block title %} {{ article.title|striptags }} {% endblock %} {% block top_center %}

{{ article.title }}

{% endblock %} {% block right_sidebar %}
{% endblock %} {% block content %} {% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }} {{ article.content }} {% if article.related_posts %}

Related content

{# TODO: Use fancier related layout with images, as in: https://kevin.deldycke.com/2012/04/beautify-contextual-related-posts-wordpress-plugin/ #}
{% for related_post in article.related_posts %}
{{ related_post.title }}
{{ related_post.date.strftime('%Y') }}
{{ related_post.summary|striptags|e }}
{% endfor %}
{% endif %} {% if DISQUS_SITENAME and SITEURL and article.status != "draft" %}
{% endif %} {% endblock %}