mirror of
https://gitlab.com/openlp/website.git
synced 2024-12-23 05:22:53 +00:00
20 lines
579 B
Cheetah
20 lines
579 B
Cheetah
|
## -*- coding: utf-8 -*-
|
||
|
<%inherit file="base.tmpl"/>
|
||
|
|
||
|
<%block name="content">
|
||
|
<article class="listpage">
|
||
|
<header>
|
||
|
<h1>${title}</h1>
|
||
|
</header>
|
||
|
%if posts:
|
||
|
<ul class="postlist">
|
||
|
% for post in posts:
|
||
|
<li><a href="${post.permalink()[:-5]}" class="listtitle">${post.title()|h}</a> <time class="listdate" datetime="${post.formatted_date('webiso')}" title="${post.formatted_date(date_format)}">${post.formatted_date(date_format)}</time></li>
|
||
|
% endfor
|
||
|
</ul>
|
||
|
%else:
|
||
|
<p>${messages("No posts found.")}</p>
|
||
|
%endif
|
||
|
</article>
|
||
|
</%block>
|