separate head into template, add description meta tag

This commit is contained in:
Harvey Tindall
2020-12-07 22:46:17 +00:00
parent 8ef27f7fda
commit c79f86137e
10 changed files with 46 additions and 95 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{{ define "form-base" }}
<script>
window.bs5 = {{ .settings.bs5 }};
window.usernameEnabled = {{ .settings.username }};
window.bs5 = {{ .bs5 }};
window.usernameEnabled = {{ .username }};
window.validationStrings = JSON.parse({{ .lang.validationStrings }});
window.invalidPassword = "{{ .lang.reEnterPasswordInvalid }}";
window.URLBase = "{{ .urlBase }}";