]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/titlepage.tmpl
alternative approach for backlinks
[git.ikiwiki.info.git] / templates / titlepage.tmpl
index f5cd5bc53e69de301886902e25428cd2ab2c9b94..6326bab72d147aab216f3ee5040020ec4ba1511d 100644 (file)
@@ -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>