summaryrefslogtreecommitdiff
path: root/template/pages
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2013-05-05 16:10:03 +0200
committerChristian Franke <nobody@nowhere.ws>2013-05-05 16:10:03 +0200
commit736fc85277f59a75db6062319a00b516d3b076cf (patch)
treec6c9756ce45a38662a298b7cce61f10aa366e958 /template/pages
parentd21337f08bd7df15183e538f02fbfceef74b6f8e (diff)
Add option to set header by template
Diffstat (limited to 'template/pages')
-rw-r--r--template/pages/wiki_template/head.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/pages/wiki_template/head.html b/template/pages/wiki_template/head.html
new file mode 100644
index 0000000..d4f31f1
--- /dev/null
+++ b/template/pages/wiki_template/head.html
@@ -0,0 +1,5 @@
+<TMPL_IF DYNAMIC>
+<TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
+<TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
+</TMPL_IF>
+</TMPL_IF>