## -*- coding: utf-8 -*- <%namespace name="helper" file="index_helper.tmpl"/> <%namespace name="math" file="math_helper.tmpl"/> <%namespace name="comments" file="comments_helper.tmpl"/> <%namespace name="pagination" file="pagination_helper.tmpl"/> <%namespace name="feeds_translations" file="feeds_translations_helper.tmpl" import="*"/> <%inherit file="base.tmpl"/> <%block name="extra_head"> ${parent.extra_head()} % if posts and (permalink == '/' or permalink == '/' + index_file): % endif ${math.math_styles_ifposts(posts)} <%block name="content"> <%block name="content_header"> ${feeds_translations.translation_link(kind)} % 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()|h}

%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)}