list.tmpl 398 B

12345678910111213141516171819
  1. ## -*- coding: utf-8 -*-
  2. <%inherit file="base.tmpl"/>
  3. <%block name="content">
  4. <article class="listpage">
  5. <header>
  6. <h1>${title}</h1>
  7. </header>
  8. %if items:
  9. <ul class="postlist">
  10. % for text, link, count in items:
  11. <li><a href="${link}">${text} (${count})</a>
  12. % endfor
  13. </ul>
  14. %else:
  15. <p>${messages("Nothing found.")}</p>
  16. %endif
  17. </article>
  18. </%block>