{% extends "base.html" %} {% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%} {% block translation %} {% import 'translations.html' as translations with context %} {{ translations.translations_for(page) }} {% endblock %} {% block content_title %} <h1 class="entry-title">{{ page.title }}</h1> {% endblock %} {% block content %} {% if articles %} {% for article in dates %} <article class="hentry"> <h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> <div class="entry-content"> {{ article.summary }} <a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a> </div><!-- /.entry-content --> </article> {% endfor %} {% else %} <section id="content" class="body"> <header> <h1>Pages</h1> </header> <div> <ul> {% for page in PAGES %} <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> {% endfor %} </ul> </div><!-- /.entry-content --> </section> {% endif %} {% endblock %}