summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2009-01-21 00:41:40 +0100
committerThomas Schwinge <tschwinge@gnu.org>2009-01-21 00:41:40 +0100
commita038f20973e80f590fdf89d202690c1064e5cdb3 (patch)
tree84beced2a1d2b41a14eff5a9f7a563671ab0ab2b
parent27d13175ccd378e4d3531176276475dd84af5fed (diff)
Bring page.tmpl up to ikiwiki's 81b088866be5f55433c12e09c90e2ae404a8ed89.
-rw-r--r--.templates/page.tmpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/.templates/page.tmpl b/.templates/page.tmpl
index 4bc13d40..d546a88f 100644
--- a/.templates/page.tmpl
+++ b/.templates/page.tmpl
@@ -13,6 +13,7 @@
<link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
</TMPL_IF>
<TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF>
+<TMPL_IF NAME="RELVCS"><TMPL_VAR RELVCS></TMPL_IF>
<TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF>
</head>
<body>
@@ -54,9 +55,13 @@
<TMPL_IF NAME="HISTORYURL">
<li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
</TMPL_IF>
+<TMPL_IF NAME="COMMENTSLINK">
+<li><TMPL_VAR COMMENTSLINK><br /></li>
+<TMPL_ELSE>
<TMPL_IF NAME="DISCUSSIONLINK">
<li><TMPL_VAR DISCUSSIONLINK><br /></li>
</TMPL_IF>
+</TMPL_IF>
</ul>
</span>
</div>
@@ -73,6 +78,19 @@
<TMPL_VAR CONTENT>
</div>
+<TMPL_IF COMMENTS>
+<div id="comments">
+<TMPL_VAR COMMENTS>
+<TMPL_IF ADDCOMMENTURL>
+<div class="addcomment">
+<a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
+</div>
+<TMPL_ELSE>
+<div class="addcomment">Comments on this page are closed.</div>
+</TMPL_IF>
+</div>
+</TMPL_IF>
+
<div id="footer" class="pagefooter">
<div id="pageinfo">