1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-22 13:02:50 +00:00
website/themes/openlp2v2/templates/list_post.tmpl

20 lines
579 B
Cheetah
Raw Normal View History

## -*- 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>