francescomecca.eu/themes/cayman/templates/list_post.tmpl
2018-11-10 18:19:00 +01:00

27 lines
No EOL
939 B
Cheetah

## -*- coding: utf-8 -*-
<%inherit file="base.tmpl"/>
<%namespace name="archive_nav" file="archive_navigation_helper.tmpl" import="*"/>
<%namespace name="feeds_translations" file="feeds_translations_helper.tmpl" import="*"/>
<%block name="extra_head">
${feeds_translations.head(kind=kind, rss_override=False)}
</%block>
<%block name="content">
<article class="listpage">
<header>
<h1>${title|h}</h1>
</header>
${archive_nav.archive_navigation()}
${feeds_translations.translation_link(kind)}
%if posts:
<ul class="postlist">
% for post in posts:
<li><time class="listdate" datetime="${post.formatted_date('webiso')}" title="${post.formatted_date(date_format)|h}">${post.formatted_date(date_format)|h}</time> <a href="${post.permalink()}" class="listtitle">${post.title()|h}</a></li>
% endfor
</ul>
%else:
<p>${messages("No posts found.")}</p>
%endif
</article>
</%block>