Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

fix: favicon markup (#2115)

Salim B599147c1029c
diff --git a/docs/site/layouts/partials/header.html b/docs/site/layouts/partials/header.html
index a117b052..85957b1e 100644
--- a/docs/site/layouts/partials/header.html
+++ b/docs/site/layouts/partials/header.html
@@ -11,7 +11,7 @@
<link href="{{ .Site.BaseURL }}static/style.css" rel="stylesheet" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
- <link rel="shortcut icon" href="{{ .Site.BaseURL }}static/images/favicon.png" type="image/x-icon" />
+ <link rel="icon" href="{{ .Site.BaseURL }}static/images/favicon.png" type="image/png" />
<meta property="og:title" content="{{ .Title }}" />
{{ if .Params.thumbnail }}
@@ -39,4 +39,4 @@
</nav>
</div>
</header>
-</div>
\ No newline at end of file
+</div>
diff --git a/static/public/templates/index.html b/static/public/templates/index.html
index 057ab87f..53934a42 100644
--- a/static/public/templates/index.html
+++ b/static/public/templates/index.html
@@ -17,9 +17,9 @@
<script src="/public/custom.js?v={{ .AssetVersion }}" async defer></script>
{{ if ne .FaviconURL "" }}
- <link rel="shortcut icon" href="{{ .FaviconURL }}" type="image/x-icon" />
+ <link rel="icon" href="{{ .FaviconURL }}" type="image/x-icon" />
{{ else }}
- <link rel="shortcut icon" href="/public/static/favicon.png?v={{ .AssetVersion }}" type="image/x-icon" />
+ <link rel="icon" href="/public/static/favicon.png?v={{ .AssetVersion }}" type="image/png" />
{{ end }}
</head>
<body>