12345678910111213141516171819 |
- ## -*- 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()}" class="listtitle">${post.title()}</a> <time class="listdate" datetime="${post.date.isoformat()}" 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>
|