mirror of
https://github.com/hrfee/jfa-go.git
synced 2026-01-18 16:47:42 +01:00
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,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .shortLang }}" dir="{{ .pageDirection }}" class="{{ .cssClass }}">
|
||||
<head>
|
||||
{{ template "header.html" . }}
|
||||
{{ template "header.txt" . }}
|
||||
<title>Invalid Code - jfa-go</title>
|
||||
</head>
|
||||
<body class="section">
|
||||
|
||||
Reference in New Issue
Block a user