A new Riff-radio.org site with a static approach.

authors.tmpl 655B

1234567891011121314151617181920212223242526
  1. ## -*- coding: utf-8 -*-
  2. <%inherit file="base.tmpl"/>
  3. <%namespace name="feeds_translations" file="feeds_translations_helper.tmpl" import="*"/>
  4. <%block name="extra_head">
  5. ${feeds_translations.head(kind=kind, feeds=False)}
  6. </%block>
  7. <%block name="content">
  8. % if items:
  9. <h2>${messages("Authors")}</h2>
  10. <div class="metadata">
  11. ${feeds_translations.translation_link(kind)}
  12. </div>
  13. % endif
  14. % if items:
  15. <ul class="list-inline">
  16. % for text, link in items:
  17. % if text not in hidden_authors:
  18. <li><a class="reference badge" href="${link}">${text|h}</a></li>
  19. % endif
  20. % endfor
  21. </ul>
  22. % endif
  23. </%block>