]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/comment.tmpl
pagestats: add `among` parameter, which only counts links from specified pages
[git.ikiwiki.info.git] / templates / comment.tmpl
index 582efccb8d25f667b4dd334068565935d779d516..fb76ea00494880863a8973b1942ae11a2e4e5a87 100644 (file)
@@ -1,6 +1,12 @@
-<div class="comment" id="<TMPL_VAR NAME=INLINEPAGE>">
+<div class="comment" id="<TMPL_VAR NAME=COMMENTID>">
 
 
-<div class="comment-subject"><a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a></div>
+<div class="comment-subject">
+<TMPL_IF PERMALINK>
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
+<TMPL_ELSE>
+<TMPL_VAR TITLE>
+</TMPL_IF>
+</div>
 
 <div class="inlinecontent">
 <TMPL_VAR CONTENT>
 
 <div class="inlinecontent">
 <TMPL_VAR CONTENT>