/kai/templates/snippets/bytag.mako
https://bitbucket.org/bbangert/kai/ · Mako · 8 lines · 8 code · 0 blank · 0 comment · 3 complexity · be59a868951810d736259741414fa1e9 MD5 · raw file
- <h1>${_('Snippets for tag: %s' % c.tag)}</h1>
- <ul>
- % for snippet in c.snippets:
- <li>${h.link_to(snippet.title, url=url('snippet', id=snippet.slug))} - ${format.datetime(snippet.created, "medium")}</li>
- % endfor
- </ul>
- <%def name="title()">${parent.title()} - ${_('Snippets for tag: %s' % c.tag)}</%def>
- <%inherit file="layout.mako" />