aboutsummaryrefslogtreecommitdiff
path: root/templates/header.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-02-23 13:26:39 +0000
committerr <r@freesoftwareextremist.com>2020-02-23 18:01:50 +0000
commite9f5e0cab55a8a92575139788ffb003ed5d4f576 (patch)
treef6b858d4dc5a7eb623bd139713eacd2faea17ef1 /templates/header.tmpl
parentdd23ac48678c704949074dd0e41bb8a3550cc33f (diff)
downloadbloat-e9f5e0cab55a8a92575139788ffb003ed5d4f576.tar.gz
bloat-e9f5e0cab55a8a92575139788ffb003ed5d4f576.zip
Use <base> element to set target
Diffstat (limited to 'templates/header.tmpl')
-rw-r--r--templates/header.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/header.tmpl b/templates/header.tmpl
index 76831f2..ca2986d 100644
--- a/templates/header.tmpl
+++ b/templates/header.tmpl
@@ -4,6 +4,9 @@
<head>
<meta charset='utf-8'>
<meta content='width=device-width, initial-scale=1' name='viewport'>
+ {{if .Target}}
+ <base href="" target="{{.Target}}">
+ {{end}}
{{if .CSRFToken}}
<meta name="csrf_token" content="{{.CSRFToken}}">
{{end}}