templates: fix malformed html
ckie git-525ff67@ckie.dev
Mon, 19 Jan 2026 22:33:40 +0200
9 files changed,
13 insertions(+),
4 deletions(-)
M
templates/404.html
→
templates/404.html
@@ -1,4 +1,5 @@
{{ define "404" }} +<!doctype html> <html> <title>404</title> {{ template "head" . }}
M
templates/500.html
→
templates/500.html
@@ -1,4 +1,5 @@
{{ define "500" }} +<!doctype html> <html> <title>500</title> {{ template "head" . }}
M
templates/commit.html
→
templates/commit.html
@@ -1,4 +1,5 @@
{{ define "commit" }} +<!doctype html> <html> {{ template "head" . }}
M
templates/file.html
→
templates/file.html
@@ -1,4 +1,5 @@
{{ define "file" }} +<!doctype html> <html> {{ template "head" . }} {{ template "repoheader" . }}
M
templates/index.html
→
templates/index.html
@@ -1,12 +1,13 @@
{{ define "index" }} +<!doctype html> <html> {{ template "head" . }} - <header> - <h1>{{ .meta.Title }}</h1> - <h2>{{ .meta.Description }}</h2> - </header> <body> + <header> + <h1>{{ .meta.Title }}</h1> + <h2>{{ .meta.Description }}</h2> + </header> <main> <div class="index"> {{ range .info }}
M
templates/log.html
→
templates/log.html
@@ -1,4 +1,5 @@
{{ define "log" }} +<!doctype html> <html> {{ template "head" . }}
M
templates/refs.html
→
templates/refs.html
@@ -1,4 +1,5 @@
{{ define "refs" }} +<!doctype html> <html> {{ template "head" . }}
M
templates/repo.html
→
templates/repo.html
@@ -1,4 +1,5 @@
{{ define "repo" }} +<!doctype html> <html> {{ template "head" . }}
M
templates/tree.html
→
templates/tree.html
@@ -1,4 +1,5 @@
{{ define "tree" }} +<!doctype html> <html> {{ template "head" . }}