summaryrefslogtreecommitdiff
path: root/templates/titlepage.tmpl
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-24 10:46:30 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-24 10:46:30 +0300
commita9fb6e85eae3cf5e5cd0a49233f49b7ecc8133c6 (patch)
treeb2c8cd5f97b0bfda7de13cf3a0c39dde376d87f6 /templates/titlepage.tmpl
parentf7079d9800822112eba01239789c3092b16b976d (diff)
downloadewww.liw.fi-a9fb6e85eae3cf5e5cd0a49233f49b7ecc8133c6.tar.gz
add styling from ikiwiki-style
Sponsored-by: author
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>