Mercurial > hg > chronicle
comparison themes/default/tags.template @ 115:02f239be7568
Escape links + tags
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Thu, 13 Dec 2007 13:55:18 +0000 |
parents | 7a87c1556a0e |
children | 1b905160e5e4 |
comparison
equal
deleted
inserted
replaced
114:54ed5b4c2ad8 | 115:02f239be7568 |
---|---|
25 | 25 |
26 | 26 |
27 <!-- tmpl_loop name='entries' --> | 27 <!-- tmpl_loop name='entries' --> |
28 <div class="entry"> | 28 <div class="entry"> |
29 <div class="title"> | 29 <div class="title"> |
30 <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a> | 30 <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->"><!-- tmpl_var name='title' --></a> |
31 </div> | 31 </div> |
32 <div class="date"> | 32 <div class="date"> |
33 <!-- tmpl_var name='date' --> | 33 <!-- tmpl_var name='date' --> |
34 </div> | 34 </div> |
35 | 35 |
42 <!-- tmpl_var name='comment_count' --> comments. | 42 <!-- tmpl_var name='comment_count' --> comments. |
43 </span> | 43 </span> |
44 <!-- /tmpl_if --> | 44 <!-- /tmpl_if --> |
45 | 45 |
46 <!-- tmpl_if name='tags' --> | 46 <!-- tmpl_if name='tags' --> |
47 Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> | 47 Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' escape='html' -->"><!-- tmpl_var name='tag' escape='html' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> |
48 <!-- /tmpl_if --> | 48 <!-- /tmpl_if --> |
49 </div> | 49 </div> |
50 </div> | 50 </div> |
51 <div class="padding"></div> | 51 <div class="padding"></div> |
52 <!-- /tmpl_loop --> | 52 <!-- /tmpl_loop --> |
72 | 72 |
73 <!-- tmpl_if name='tagcloud' --> | 73 <!-- tmpl_if name='tagcloud' --> |
74 <h2>Tags</h2> | 74 <h2>Tags</h2> |
75 <ul> | 75 <ul> |
76 <!-- tmpl_loop name='tagcloud' --> | 76 <!-- tmpl_loop name='tagcloud' --> |
77 <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> | 77 <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' escape='html' -->"><!-- tmpl_var name='tag' escape='html' --> (<!-- tmpl_var name='count' -->)</a></li> |
78 <!-- /tmpl_loop --> | 78 <!-- /tmpl_loop --> |
79 </ul> | 79 </ul> |
80 <!-- /tmpl_if --> | 80 <!-- /tmpl_if --> |
81 </div> | 81 </div> |
82 </body> | 82 </body> |