diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2008-12-17 19:38:02 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2008-12-17 19:38:02 -0500 |
commit | cd7ac8f72a43a53aeca3b5e8daf906e990420016 (patch) | |
tree | 2a2a0ed6550323fd9b422fccec36f81d907be9ea /templates/page.tmpl | |
parent | 5feffc8b0b953856052c09dd431984e2e835b439 (diff) | |
download | ikiwiki-cd7ac8f72a43a53aeca3b5e8daf906e990420016.tar ikiwiki-cd7ac8f72a43a53aeca3b5e8daf906e990420016.tar.gz |
add Comments link when displaying a page inline
This link will supplant the usual Discussion link for pages
that have comments enabled.
Diffstat (limited to 'templates/page.tmpl')
-rw-r--r-- | templates/page.tmpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl index ea50fb722..79c2b8b6e 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -70,18 +70,16 @@ <TMPL_IF COMMENTS> <div id="comments"> <TMPL_VAR COMMENTS> -</div> - <TMPL_UNLESS COMMENTURL> <div class="addcomment">Comments on this page are closed.</div> </TMPL_UNLESS> -</TMPL_IF> - <TMPL_IF COMMENTURL> <div class="addcomment"> <a href="<TMPL_VAR COMMENTURL>">Add a comment</a> </div> </TMPL_IF> +</div> +</TMPL_IF> <div id="footer" class="pagefooter"> <div id="pageinfo"> |