- Timestamp:
- 06/07/12 18:05:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/list.tt
r10 r11 28 28 } 29 29 li { 30 padding: .25em ;30 padding: .25em 0 0 .25em; 31 31 color: #999; 32 32 white-space: nowrap; … … 43 43 margin: .5em; 44 44 } 45 .tags a { 46 color: #999; 47 text-decoration: none; 48 } 49 .tags a:hover { 50 text-decoration: underline; 51 } 45 52 .tags { 46 color: #666; 53 color: #999; 54 margin-top: .125em; 55 margin-left: 3em; 56 font-size: .875em; 47 57 } 48 58 </style> … … 72 82 </span> 73 83 <a href="[% resource.uri %]" title="[% resource.title | html %] ([% resource.tags.join(', ') %])">[% resource.title or resource.uri %]</a> 74 <span class="tags">([% resource.tags.join(', ') %])</span> 84 <div class="tags"> 85 [% FOREACH tag IN resource.tags %] 86 [% IF loop.first %]([% END %]<a target="_self" href="?tag=[% tag %]">[% tag %]</a>[% IF loop.last %])[% ELSE %], [% END %] 87 [% END %] 88 </div> 75 89 </li> 76 90 [% END %]
Note: See TracChangeset
for help on using the changeset viewer.