PageRenderTime 161ms CodeModel.GetById 70ms app.highlight 1ms RepoModel.GetById 61ms app.codeStats 0ms

/kai/templates/snippets/tagcloud.mako

https://bitbucket.org/bbangert/kai/
Mako | 9 lines | 8 code | 1 blank | 0 comment | 3 complexity | c99ebe148ba19158321e78ef0ecfe4d7 MD5 | raw file
1<h1>${_('All Tags')}</h1>
2
3<div class="tagcloud">
4    % for tag in c.tag_sizes:
5        <span style="font-size: ${tag[2] * 1.3}px;">${h.link_to(tag[0], url=url('snippet_tag', tag=tag[0]))}</span> 
6    % endfor
7</div>
8<%def name="title()">${parent.title()} - ${_('All Tags')}</%def>
9<%inherit file="layout.mako" />