{{ article.title }}
{{ m.credits(article) }}
{{ article.content }}
{% extends "base.html" %} {% import "_macros.html" as m %} {% block title %}{{ article.title|striptags }} · {{ SITENAME }}{% endblock %} {% block meta %} {% endblock %} {% block content %} {% set bg_ok = article.metadata.get('background') and not article.metadata.get('background_missing') %} {% set th_ok = article.metadata.get('thumb') and not article.metadata.get('thumb_missing') %} {% set bg = article.metadata.get('background') if bg_ok else (article.metadata.get('thumb') if th_ok else none) %} {# No hero at all when no image survived: an empty placeholder band is just dead space above the title. The entry starts under the bar instead. #} {% if bg %}