commit 8783cffdeee127ba9f2b8b6d0b4a70419d8a411f
parent e9430df9bd37040cb5f52ed18ef179170e34ee59
Author: oscarbenedito <oscar@obenedito.org>
Date: Sat, 28 Dec 2019 12:35:20 +0100
Favicon compatibility
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
@@ -8,6 +8,7 @@
<title>Oscar Benedito</title>
{{ $favicon := resources.Get "img/favicon.min.svg" }}
<link rel="icon" href="{{ $favicon.RelPermalink }}">
+ <link rel="shortcut icon" href="/favicon.ico">
{{- $style := resources.Get "css/landing.css" | resources.Minify }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
</head>
diff --git a/layouts/partials/head-base.html b/layouts/partials/head-base.html
@@ -4,4 +4,5 @@
<meta name="author" content="{{ .Site.Params.Author }}">
{{ $favicon := resources.Get "img/favicon.min.svg" }}
<link rel="icon" href="{{ $favicon.RelPermalink }}">
+<link rel="shortcut icon" href="/favicon.ico">
<title>{{ if .Params.headtitle }}{{ .Params.headtitle }} | {{ else if eq .Kind "taxonomy" }}{{ .Title | title }} | {{ else if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>