aboutsummaryrefslogtreecommitdiff
path: root/templates/titlepage.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-05-19 13:06:35 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-05-19 13:06:35 -0400
commit53b1c6f559c1d09fbdbc28c8e4d5090dd455cd26 (patch)
treed379bb0acd2dd3e9370c37b27f03989398694977 /templates/titlepage.tmpl
parent18695056917a2f34a36e5e89df7f01deff9ab640 (diff)
parent4558457402a4ab6bc795589a2e400fa66144f76e (diff)
downloadikiwiki-53b1c6f559c1d09fbdbc28c8e4d5090dd455cd26.tar
ikiwiki-53b1c6f559c1d09fbdbc28c8e4d5090dd455cd26.tar.gz
Merge commit 'intrigeri/po' into po
Diffstat (limited to 'templates/titlepage.tmpl')
-rw-r--r--templates/titlepage.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/titlepage.tmpl b/templates/titlepage.tmpl
index f5cd5bc53..8a11e693e 100644
--- a/templates/titlepage.tmpl
+++ b/templates/titlepage.tmpl
@@ -1 +1,7 @@
-<p><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></p>
+<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>
+</TMPL_IF>
+</p>