{# -*- coding: utf-8 -*- #} {% import 'index_helper.tmpl' as helper with context %} {% import 'math_helper.tmpl' as math with context %} {% import 'comments_helper.tmpl' as comments with context %} {% import 'pagination_helper.tmpl' as pagination with context %} {% import 'feeds_translations_helper.tmpl' as feeds_translations with context %} {% extends 'base.tmpl' %} {% block extra_head %} {{ super() }} {% if posts and (permalink == '/' or permalink == '/' + index_file) %} {% endif %} {{ math.math_styles_ifposts(posts) }} {% endblock %} {% block content %} {% block content_header %} {{ feeds_translations.translation_link(kind) }} {% endblock %} {% if 'main_index' in pagekind %} {{ front_index_header }} {% endif %} {% if page_links %} {{ pagination.page_navigation(current_page, page_links, prevlink, nextlink, prev_next_links_reversed) }} {% endif %}
{% for post in posts %}

{{ post.title()|e }}

{% if index_teasers %}
{{ post.text(teaser_only=True) }} {% else %}
{{ post.text(teaser_only=False) }} {% endif %}
{% endfor %}
{{ helper.html_pager() }} {{ comments.comment_link_script() }} {{ math.math_scripts_ifposts(posts) }} {% endblock %}