Mercurial > hg > chronicle
comparison themes/default/entry.template @ 115:02f239be7568
Escape links + tags
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Thu, 13 Dec 2007 13:55:18 +0000 |
parents | f3b73f970dd2 |
children |
comparison
equal
deleted
inserted
replaced
114:54ed5b4c2ad8 | 115:02f239be7568 |
---|---|
23 <div class="entry"> | 23 <div class="entry"> |
24 <div class="title"><!-- tmpl_var name='title' --></div> | 24 <div class="title"><!-- tmpl_var name='title' --></div> |
25 <div class="date"><!-- tmpl_var name='date' --></div> | 25 <div class="date"><!-- tmpl_var name='date' --></div> |
26 <div class="body"><!-- tmpl_var name='body' --></div> | 26 <div class="body"><!-- tmpl_var name='body' --></div> |
27 <!-- tmpl_if name='tags' --> | 27 <!-- tmpl_if name='tags' --> |
28 <div class="tags">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 --></div> | 28 <div class="tags">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 --></div> |
29 <!-- /tmpl_if --> | 29 <!-- /tmpl_if --> |
30 </div> | 30 </div> |
31 | 31 |
32 <!-- tmpl_include name="comment-loop.inc" --> | 32 <!-- tmpl_include name="comment-loop.inc" --> |
33 <!-- tmpl_include name="comment-form.inc" --> | 33 <!-- tmpl_include name="comment-form.inc" --> |
49 | 49 |
50 <!-- tmpl_if name='tagcloud' --> | 50 <!-- tmpl_if name='tagcloud' --> |
51 <h2>Tags</h2> | 51 <h2>Tags</h2> |
52 <ul> | 52 <ul> |
53 <!-- tmpl_loop name='tagcloud' --> | 53 <!-- tmpl_loop name='tagcloud' --> |
54 <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> | 54 <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> |
55 <!-- /tmpl_loop --> | 55 <!-- /tmpl_loop --> |
56 </ul> | 56 </ul> |
57 <!-- /tmpl_if --> | 57 <!-- /tmpl_if --> |
58 </div> | 58 </div> |
59 </body> | 59 </body> |