all repos — elgit @ 8f8a079b2b3fdd26a10b27ee534319579d5e1bf5

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

templates/head: <link rel=icon> should have "sizes", not "size"

References: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
Runxi Yu me@runxiyu.org
Sat, 15 Feb 2025 18:31:57 +0800
commit

8f8a079b2b3fdd26a10b27ee534319579d5e1bf5

parent

899246690b667acde6525d4eb4a67e652036da8a

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M templates/head.htmltemplates/head.html
@@ -3,7 +3,7 @@ <head>     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <link rel="stylesheet" href="/static/style.css" type="text/css">
-    <link rel="icon" type="image/png" size="32x32" href="/static/legit.png">
+    <link rel="icon" type="image/png" sizes="32x32" href="/static/legit.png">
     {{ if .parent }}
     <title>{{ .meta.Title }} &mdash; {{ .name }} ({{ .ref }}): {{ .parent }}/</title>