all repos — elgit @ 4207c35fb06ccd3c69104a525edfc131d597ca38

fork of legit: web frontend for git, written in go

templates: Use HTML Standards Mode The lack of <!DOCTYPE html> causes browsers to enter HTML Quirks mode, where "layout emulates behavior in Navigator 4 and Internet Explorer 5". References: https://developer.mozilla.org/en-US/docs/Web/HTML/Quirks_Mode_and_Standards_Mode

Runxi Yu
commit

4207c35fb06ccd3c69104a525edfc131d597ca38

parent

5acac24dede0143e6415d83d94a66017fd3c2692

1 file changed, 1 insertion(+), 0 deletions(-)

changed files
M templates/file.htmltemplates/file.html
@@ -1,4 +1,5 @@
{{ define "file" }} +<!DOCTYPE html> <html> {{ template "head" . }} {{ template "repoheader" . }}