Skip to content

Commit

Permalink
fix: correct favicon's MIME type
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Feb 26, 2020
1 parent c1cda8b commit f8ba8aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

<!-- Fonts -->
{{- with .Site.Params.fontsLink -}}
{{ printf `<link href="%s" rel="stylesheet" />` . | safeHTML }}
{{ printf `<link rel="stylesheet" href="%s" />` . | safeHTML }}
{{- end }}

<meta name="author" content="{{ .Params.author | default .Site.Author.name }}" />
Expand All @@ -90,7 +90,7 @@
{{- $url := .Scratch.Get "url" -}}
{{- $msApplicationTileImage := $url -}}
{{- $manifest := "manifest.json" -}}
<link rel="shortcut icon" type="image/ico" href="{{ $favicon | relURL }}" />
<link rel="shortcut icon" href="{{ $favicon | relURL }}" type="image/x-icon" />
<link rel="mask-icon" href="{{ $safariMaskIcon | relURL }}" color="{{ $safariMaskColor }}" />
<link rel="apple-touch-icon" sizes="180x180" href="{{ $appleTouchIcon | relURL }}" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down

0 comments on commit f8ba8aa

Please sign in to comment.