From 517f9f5aa4b02e3f4e41654352014bb604ce76e2 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 26 Apr 2023 06:56:42 +0200 Subject: Don't set meta `theme-color` by default (#24340) Fixes https://github.com/go-gitea/gitea/issues/24321. By not setting this meta tag, Safari will use body color for chrome and out-of-viewport areas, which looks much better then static mismatching green. As per [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color) it's really only Apple browsers who still support this tag, most others have dropped support. --- templates/base/head.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/base') diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 3932a58598..cd9bbed444 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -5,7 +5,7 @@ {{if .Title}}{{.Title | RenderEmojiPlain}} - {{end}}{{if .Repository.Name}}{{.Repository.Name}} - {{end}}{{AppName}} {{if .ManifestData}}{{end}} - + {{if ThemeColorMetaTag}}{{end}} -- cgit v1.2.3