summaryrefslogtreecommitdiff
path: root/templates/titlepage.tmpl
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-08-05 20:28:53 +0300
committerLars Wirzenius <liw@liw.fi>2021-08-10 10:32:54 +0000
commit758be23ab231a4d9d3d86eb0480712d24439e0ee (patch)
tree40c80387a9ded3d5748961731b7515ba81c81e12 /templates/titlepage.tmpl
parente70ca1846001111a4ff3a668968b60eb98a1ff6b (diff)
downloadsubplot.liw.fi-758be23ab231a4d9d3d86eb0480712d24439e0ee.tar.gz
style: add new page templates
These are more to my liking. 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>