{% extends "base.html" %} {% import "teasers.html" as teasers %} {% block head %} {{super()}} {% endblock %} {% block content %}
{{teasers.large_teaser(articles|first, show_authors=False, dark_title=True)}}

Featured Posts

{# skip the first article because that is already shown as RecentPost, don't want to show it twice #} {% for article in articles[1:]|selectattr('featured')|batch(3)|first %} {{teasers.small_teaser(article, show_authors=False, dark_title=True)}} {% endfor %}
{% endblock content %} {# kate: syntax Jinja2/HTML; #}