Mercurial > hg > chronicle
comparison themes/default/index.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 | b5fc6377b32e |
comparison
equal
deleted
inserted
replaced
114:54ed5b4c2ad8 | 115:02f239be7568 |
---|---|
22 </div> | 22 </div> |
23 | 23 |
24 | 24 |
25 <!-- tmpl_loop name='entries' --> | 25 <!-- tmpl_loop name='entries' --> |
26 <div class="entry"> | 26 <div class="entry"> |
27 <div class="title"><a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></div> | 27 <div class="title"><a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->"><!-- tmpl_var name='title' --></a></div> |
28 <div class="date"><!-- tmpl_var name='date' --></div> | 28 <div class="date"><!-- tmpl_var name='date' --></div> |
29 <div class="body"><!-- tmpl_var name='body' --></div> | 29 <div class="body"><!-- tmpl_var name='body' --></div> |
30 <div class="tags"> | 30 <div class="tags"> |
31 <!-- tmpl_if name='comment_count' --> | 31 <!-- tmpl_if name='comment_count' --> |
32 <span class="comments"> | 32 <span class="comments"> |
33 <!-- tmpl_var name='comment_count' --> comment(s). | 33 <!-- tmpl_var name='comment_count' --> comment(s). |
34 </span> | 34 </span> |
35 <!-- /tmpl_if --> | 35 <!-- /tmpl_if --> |
36 | 36 |
37 <!-- tmpl_if name='tags' --> | 37 <!-- tmpl_if name='tags' --> |
38 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 --> | 38 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 --> |
39 <!-- tmpl_else --> | 39 <!-- tmpl_else --> |
40 No tags | 40 No tags |
41 <!-- /tmpl_if --> | 41 <!-- /tmpl_if --> |
42 </div> | 42 </div> |
43 </div> | 43 </div> |
68 | 68 |
69 <!-- tmpl_if name='tagcloud' --> | 69 <!-- tmpl_if name='tagcloud' --> |
70 <h2>Tags</h2> | 70 <h2>Tags</h2> |
71 <ul> | 71 <ul> |
72 <!-- tmpl_loop name='tagcloud' --> | 72 <!-- tmpl_loop name='tagcloud' --> |
73 <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> | 73 <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> |
74 <!-- /tmpl_loop --> | 74 <!-- /tmpl_loop --> |
75 </ul> | 75 </ul> |
76 <!-- /tmpl_if --> | 76 <!-- /tmpl_if --> |
77 </div> | 77 </div> |
78 | 78 |