Last change
on this file since 114 was
108,
checked in by peter, 9 years ago
|
Added template for the tag tree display.
|
File size:
810 bytes
|
Line | |
---|
1 | <html> |
---|
2 | <head> |
---|
3 | <base href="[% request_url %]" /> |
---|
4 | </head> |
---|
5 | <body> |
---|
6 | <div> |
---|
7 | <a href="[% base_url %]tags">Tags</a> |
---|
8 | [% FOR tag IN tags %] |
---|
9 | » <a href="[% base_url %]tags/[% tag.path | uri %]">[% tag.tag %]</a> |
---|
10 | [% END %] |
---|
11 | </div> |
---|
12 | <ul> |
---|
13 | [% FOR cotag IN cotags %] |
---|
14 | <li> |
---|
15 | <a href="[% cotag.tag | uri %]">[% cotag.tag %]</a> ([% cotag.count %]) |
---|
16 | </li> |
---|
17 | [% END %] |
---|
18 | </ul> |
---|
19 | [% IF tags.size %] |
---|
20 | <hr/> |
---|
21 | <ul> |
---|
22 | [% FOR bookmark IN bookmarks %] |
---|
23 | <li> |
---|
24 | <a href="[% bookmark.uri %]">[% bookmark.title %]</a> |
---|
25 | <small> |
---|
26 | ([% FOR tag IN bookmark.tags %]<a href="[% base_url %]tags/[% tag | uri %]">[% tag %]</a>[% IF NOT loop.last %], [% END %][% END %]) |
---|
27 | </small> |
---|
28 | </li> |
---|
29 | [% END %] |
---|
30 | </ul> |
---|
31 | [% END %] |
---|
32 | </body> |
---|
33 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.