aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-11-23 12:01:42 +0000
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-12-11 21:14:03 +0000
commit3a46e7c7f1e33928e2306f9a629936fce43013f7 (patch)
tree0e4cdd919721a5580d7800b0792c4964913930fe
parent286dbb0541225dd4ff7db6ed958922f7512b789b (diff)
downloadikiwiki-3a46e7c7f1e33928e2306f9a629936fce43013f7.tar
ikiwiki-3a46e7c7f1e33928e2306f9a629936fce43013f7.tar.gz
comments_embed.tmpl: include the inlined comments if present
-rw-r--r--templates/comments_embed.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/comments_embed.tmpl b/templates/comments_embed.tmpl
index cbb9247f2..335e68624 100644
--- a/templates/comments_embed.tmpl
+++ b/templates/comments_embed.tmpl
@@ -1,4 +1,8 @@
<div class="comments-embed">
+<TMPL_IF NAME=COMMENTS>
+<TMPL_VAR NAME=COMMENTS>
+</TMPL_VAR>
+
<TMPL_IF NAME=DISABLED>
[Posting comments disabled: <TMPL_VAR NAME=DISABLED>]
<TMPL_ELSE>