summaryrefslogtreecommitdiff
path: root/titlepage.tmpl
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-07-14 20:34:13 +0200
committerJonas Smedegaard <dr@jones.dk>2010-07-14 20:34:13 +0200
commit5df058b2b3dc6e565ad3b3604263f487ef65f2af (patch)
tree4a0903cd24eb289208c0fe0e661eb938094ba60e /titlepage.tmpl
parent03cdb15da3f28c109a1a176d6c3f53cf5e1a18f3 (diff)
Sync with ikiwiki 3.20100704.
Diffstat (limited to 'titlepage.tmpl')
-rw-r--r--titlepage.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/titlepage.tmpl b/titlepage.tmpl
index f5cd5bc..6326bab 100644
--- a/titlepage.tmpl
+++ b/titlepage.tmpl
@@ -1 +1,7 @@
-<p><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></p>
+<p>
+<TMPL_IF PERMALINK>
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
+<TMPL_ELSE>
+<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
+</TMPL_IF>
+</p>