add test case for RSS url munging
[ikiwiki.git] / templates / comment.tmpl
blobc2ee5a37133107cc2461fa8d36e58f1e778afe30
1 <TMPL_IF HTML5><article class="comment" id="<TMPL_VAR COMMENTID>">
2 <TMPL_ELSE><div class="comment" id="<TMPL_VAR COMMENTID>"></TMPL_IF>
4 <TMPL_IF HTML5><header class="comment-subject"><TMPL_ELSE><div class="comment-subject"></TMPL_IF>
5 <TMPL_IF PERMALINK>
6 <a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
7 <TMPL_ELSE>
8 <TMPL_VAR TITLE>
9 </TMPL_IF>
10 <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
12 <TMPL_IF HTML5><section class="inlinecontent"><TMPL_ELSE><div class="inlinecontent"></TMPL_IF>
13 <TMPL_VAR CONTENT>
14 <TMPL_IF HTML5></section><TMPL_ELSE></div></TMPL_IF>
16 <TMPL_IF HTML5><header class="comment-header"><TMPL_ELSE><div class="comment-header"></TMPL_IF>
17 <TMPL_IF COMMENTUSER>
18 Comment by
19 <TMPL_IF COMMENTOPENID>
20 <span class="author" title="OpenID">
21 <a href="<TMPL_VAR COMMENTOPENID>"><TMPL_VAR COMMENTAUTHOR></a>
22 </span>
23 <TMPL_ELSE>
24 <span class="author" title="Signed in">
25 <TMPL_IF COMMENTAUTHORURL>
26 <a href="<TMPL_VAR COMMENTAUTHORURL>"><TMPL_VAR COMMENTAUTHOR></a>
27 <TMPL_ELSE>
28 <TMPL_VAR COMMENTAUTHOR>
29 </TMPL_IF>
30 </span>
31 </TMPL_IF>
32 <TMPL_ELSE>
33 <TMPL_IF AUTHOR>
34 Comment by
35 <TMPL_IF COMMENTIP>
36 <span class="author" title="Unauthenticated, from <TMPL_VAR COMMENTIP>">
37 <TMPL_ELSE>
38 <span class="author" title="Unauthenticated, from unknown IP address">
39 </TMPL_IF>
40 <TMPL_IF AUTHORURL>
41 <a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
42 <TMPL_ELSE>
43 <TMPL_VAR AUTHOR>
44 </TMPL_IF>
45 </TMPL_IF>
46 </span>
47 </TMPL_IF>
48 &mdash; <TMPL_VAR CTIME>
49 <TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
51 <TMPL_IF HAVE_ACTIONS>
52 <TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
53 <ul>
54 <TMPL_IF REMOVEURL>
55 <li><a href="<TMPL_VAR REMOVEURL>" rel="nofollow">Remove comment</a></li>
56 </TMPL_IF>
57 </ul>
58 <TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
59 </TMPL_IF>
61 <TMPL_IF HTML5></article><TMPL_ELSE></div></TMPL_IF>