{{ p.title }}
{% if p.cover %}{{ p.cover | picture(sizes="6em", class="cover", alt="") }}{% endif %} {% if p.published %} {% endif %} {% if p.summary_lang != p.lang %}{{ p.summary }}
{% else %}
{{ p.summary }}
{% endif %}
{# Demonstrates: a listing page. pages() finds pages, paginate() splits the list into pages of five: /, /page/2/, ... A page's cover is its cover key, else its first image; the picture filter writes every size. #} {% extends "base.html" %} {% block main %}