32 lines
838 B
Cheetah
32 lines
838 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, has_no_feeds=has_no_feeds)}
|
||
|
</%block>
|
||
|
|
||
|
<%block name="content">
|
||
|
<article class="listpage">
|
||
|
<header>
|
||
|
<h1>${title|h}</h1>
|
||
|
</header>
|
||
|
${archive_nav.archive_navigation()}
|
||
|
${feeds_translations.translation_link(kind)}
|
||
|
%if items:
|
||
|
<ul class="postlist">
|
||
|
% for text, link, count in items:
|
||
|
<li><a href="${link}">${text|h}</a>
|
||
|
% if count:
|
||
|
(${count})
|
||
|
% endif
|
||
|
% endfor
|
||
|
</ul>
|
||
|
%else:
|
||
|
<p>${messages("Nothing found.")}</p>
|
||
|
%endif
|
||
|
</article>
|
||
|
</%block>
|