Merge commit 'upstream/master' into pub/po
[ikiwiki.git] / templates / titlepage.tmpl
index f5cd5bc53e69de301886902e25428cd2ab2c9b94..8a11e693ebfe08602a003f01bda55ff8dec316bf 100644 (file)
@@ -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>