all repos — legit @ 6887878020113a7b0cc422097e0c452d5552e99a

web frontend for git, written in go

templates: Move header inside body All contentful elements such as <header> should appear inside the <body> tag. References: https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Structuring_content/Structuring_documents

Runxi Yu
commit

6887878020113a7b0cc422097e0c452d5552e99a

parent

8f8a079b2b3fdd26a10b27ee534319579d5e1bf5

1 file changed, 4 insertions(+), 4 deletions(-)

changed files
M templates/index.htmltemplates/index.html
@@ -3,11 +3,11 @@ <!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 }}