html: fix headers
go's html/template was thinking header.html and other template snippets were full documents, so inserting their own <html> and other tags, breaking the head up. Renaming to txt seems to fix things.
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@
|
||||
window.matrixUserID = "{{ .matrixUser }}";
|
||||
window.validationStrings = JSON.parse({{ .validationStrings }});
|
||||
</script>
|
||||
{{ template "header.html" . }}
|
||||
{{ template "header.txt" . }}
|
||||
<title>{{ .strings.myAccount }}</title>
|
||||
</head>
|
||||
<body class="max-w-full overflow-x-hidden section">
|
||||
|
||||
Reference in New Issue
Block a user