projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add missing permalink support to archivepage and titlepage templates.
[ikiwiki.git]
/
templates
/
archivepage.tmpl
diff --git
a/templates/archivepage.tmpl
b/templates/archivepage.tmpl
index 6bc789dfb29cfe241055ac51c4c392df6a6a50a4..63f7165449070ad01dddd5b7d8bffd3550a0e16f 100644
(file)
--- a/
templates/archivepage.tmpl
+++ b/
templates/archivepage.tmpl
@@
-1,5
+1,9
@@
<p>
+<TMPL_IF NAME="PERMALINK">
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
+<TMPL_ELSE>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
+</TMPL_IF>
<i>
Posted <TMPL_VAR CTIME>
</i>