{% extends "senat_campaign/base.html" %} {% load wagtailimages_tags wagtailcore_tags %} {% block content %} {{ page.title }} {% for article in articles %} {% image article.specific.photo fill-400x230 as img %} {{ article.title }} {{ article.specific.perex }} {% endfor %} {% if articles.paginator.num_pages > 1 %} {% if articles.has_previous %} Předchozí {% endif %} {% for page_num in articles.paginator.page_range %} {% if page_num == articles.number %} {{ page_num }} (current) {% else %} {{ page_num }} {% endif %} {% endfor %} {% if articles.has_next %} Další {% endif %} {% endif %} {% if page.root_page.facebook %} {% if articles.number == 1 %} Z mého facebooku {% endif %} {% endif %} {% endblock %}
{{ article.specific.perex }}