]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/titlepage.tmpl
page.tmpl: tell mobile browsers we have a responsive layout, unless told not to
[git.ikiwiki.info.git] / templates / titlepage.tmpl
index 0676a098e9b0cc7ed4a16549cc81348e093312f5..6326bab72d147aab216f3ee5040020ec4ba1511d 100644 (file)
@@ -1 +1,7 @@
-<p><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE ESCAPE=HTML></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>