PageRenderTime 101ms CodeModel.GetById 40ms app.highlight 0ms RepoModel.GetById 40ms app.codeStats 0ms

/kai/templates/pasties/tagcloud.mako

https://bitbucket.org/bbangert/kai/
Mako | 9 lines | 8 code | 1 blank | 0 comment | 3 complexity | 920802400e2dc9f22fc8d1e7dd0e65c0 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('pasties_tag', tag=tag[0]))}</span> 
6    % endfor
7</div>
8<%def name="title()">${parent.title()} - ${_('All Tags')}</%def>
9<%inherit file="layout.mako" />