Mercurial > hg > chronicle
comparison themes/blog.steve.org.uk/index.template @ 114:54ed5b4c2ad8
Escape tags + links by defaut
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Thu, 13 Dec 2007 13:52:57 +0000 |
parents | 1dc14df6aac1 |
children | 5066f7ad8b46 |
comparison
equal
deleted
inserted
replaced
113:b296489d9ea1 | 114:54ed5b4c2ad8 |
---|---|
51 | 51 |
52 <!-- center --> | 52 <!-- center --> |
53 <td valign="top" width="60%" style="padding: 2px;"> | 53 <td valign="top" width="60%" style="padding: 2px;"> |
54 <!-- tmpl_loop name='entries' --> | 54 <!-- tmpl_loop name='entries' --> |
55 <div class="entry"> | 55 <div class="entry"> |
56 <div class="title"><a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></div> | 56 <div class="title"><a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->"><!-- tmpl_var name='title' escape='html'--></a></div> |
57 <div class="date"><!-- tmpl_var name='date' --></div> | 57 <div class="date"><!-- tmpl_var name='date' --></div> |
58 <div class="body"><!-- tmpl_var name='body' --></div> | 58 <div class="body"><!-- tmpl_var name='body' --></div> |
59 <div class="tags"> | 59 <div class="tags"> |
60 <!-- tmpl_if name='comment_count' --> | 60 <!-- tmpl_if name='comment_count' --> |
61 <span class="comments"> | 61 <span class="comments"> |
62 <!-- tmpl_var name='comment_count' --> comment(s). | 62 <!-- tmpl_var name='comment_count' --> comment(s). |
63 </span> | 63 </span> |
64 <!-- /tmpl_if --> | 64 <!-- /tmpl_if --> |
65 | 65 |
66 <!-- tmpl_if name='tags' --> | 66 <!-- tmpl_if name='tags' --> |
67 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 --> | 67 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 --> |
68 <!-- tmpl_else --> | 68 <!-- tmpl_else --> |
69 No tags | 69 No tags |
70 <!-- /tmpl_if --> | 70 <!-- /tmpl_if --> |
71 </div> | 71 </div> |
72 </div> | 72 </div> |
80 | 80 |
81 <!-- tmpl_if name='tagcloud' --> | 81 <!-- tmpl_if name='tagcloud' --> |
82 <h2>Tags</h2> | 82 <h2>Tags</h2> |
83 <ul> | 83 <ul> |
84 <!-- tmpl_loop name='tagcloud' --> | 84 <!-- tmpl_loop name='tagcloud' --> |
85 <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> | 85 <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> |
86 <!-- /tmpl_loop --> | 86 <!-- /tmpl_loop --> |
87 </ul> | 87 </ul> |
88 <!-- /tmpl_if --> | 88 <!-- /tmpl_if --> |
89 | 89 |
90 </td> | 90 </td> |