Mercurial > hg > chronicle
comparison themes/blog.steve.org.uk/month.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 |
---|---|
53 <h3>Entries from <!-- tmpl_var name='month_name' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</h3> | 53 <h3>Entries from <!-- tmpl_var name='month_name' escape='html' --> <!-- tmpl_var name='year' escape='html' -->.</h3> |
54 | 54 |
55 <!-- tmpl_loop name='entries' --> | 55 <!-- tmpl_loop name='entries' --> |
56 <div class="entry"> | 56 <div class="entry"> |
57 <div class="title"> | 57 <div class="title"> |
58 <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a> | 58 <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->"><!-- tmpl_var name='title' --></a> |
59 </div> | 59 </div> |
60 <div class="date"> | 60 <div class="date"> |
61 <!-- tmpl_var name='date' --> | 61 <!-- tmpl_var name='date' --> |
62 </div> | 62 </div> |
63 | 63 |
68 <!-- tmpl_if name='comment_count' --> | 68 <!-- tmpl_if name='comment_count' --> |
69 <!-- tmpl_var name='comment_count' --> comments. | 69 <!-- tmpl_var name='comment_count' --> comments. |
70 <!-- /tmpl_if --> | 70 <!-- /tmpl_if --> |
71 | 71 |
72 <!-- tmpl_if name='tags' --> | 72 <!-- tmpl_if name='tags' --> |
73 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 --> | 73 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 --> |
74 <!-- tmpl_else --> | 74 <!-- tmpl_else --> |
75 No tags | 75 No tags |
76 <!-- /tmpl_if --> | 76 <!-- /tmpl_if --> |
77 </div> | 77 </div> |
78 </div> | 78 </div> |
85 | 85 |
86 <!-- tmpl_if name='tagcloud' --> | 86 <!-- tmpl_if name='tagcloud' --> |
87 <h2>Tags</h2> | 87 <h2>Tags</h2> |
88 <ul> | 88 <ul> |
89 <!-- tmpl_loop name='tagcloud' --> | 89 <!-- tmpl_loop name='tagcloud' --> |
90 <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> | 90 <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> |
91 <!-- /tmpl_loop --> | 91 <!-- /tmpl_loop --> |
92 </ul> | 92 </ul> |
93 <!-- /tmpl_if --> | 93 <!-- /tmpl_if --> |
94 </td> | 94 </td> |
95 | 95 |