summaryrefslogtreecommitdiff
path: root/templates/comment.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/comment.tmpl')
-rw-r--r--templates/comment.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/comment.tmpl b/templates/comment.tmpl
index 582efccb8..1b9064ea0 100644
--- a/templates/comment.tmpl
+++ b/templates/comment.tmpl
@@ -1,6 +1,12 @@
<div class="comment" id="<TMPL_VAR NAME=INLINEPAGE>">
-<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>