summaryrefslogtreecommitdiff
path: root/titlepage.tmpl
diff options
context:
space:
mode:
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>