summaryrefslogtreecommitdiff
path: root/templates/titlepage.tmpl
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-01-29 08:17:52 +0200
committerLars Wirzenius <liw@liw.fi>2021-01-29 08:17:52 +0200
commitcf7e743b62dd6554ab9bb163478e147763938b96 (patch)
tree66553fe6829a7fa53a041bd83e8bab9a26b495b3 /templates/titlepage.tmpl
parent61ebe2d1131d7761f199e0c39adea2a3af7e5455 (diff)
downloadvmdb2.liw.fi-cf7e743b62dd6554ab9bb163478e147763938b96.tar.gz
style: use my ikiwiki-style
Diffstat (limited to 'templates/titlepage.tmpl')
-rw-r--r--templates/titlepage.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/titlepage.tmpl b/templates/titlepage.tmpl
new file mode 100644
index 0000000..6326bab
--- /dev/null
+++ b/templates/titlepage.tmpl
@@ -0,0 +1,7 @@
+<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>