summaryrefslogtreecommitdiff
path: root/templates/archivepage.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/archivepage.tmpl')
-rw-r--r--templates/archivepage.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl
index 6bc789dfb..63f716544 100644
--- 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>