Update favicons and touch icons

This commit is contained in:
Eryn Wells 2022-11-24 08:29:59 -05:00
parent 88476a707e
commit f0931bd9d1
7 changed files with 45 additions and 19 deletions

View file

@ -19,13 +19,13 @@
<link rel="preload" as="image" href="{{ printf `%s.svg` . | absURL }}">
{{- end -}}
<link rel="icon" href="{{ `favicon.ico` | absURL }}">
<link rel="apple-touch-icon" href="{{ `apple-touch-icon.png` | absURL }}">
<link rel="icon" type="image/png" href="{{ `icons/favicon.png` | relURL }}">
<link rel="apple-touch-icon" type="image/png" href="{{ `icons/touchicon.png` | relURL }}">
{{ hugo.Generator }}
{{- range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}" title="{{ site.Title }}">
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .RelPermalink }}" title="{{ site.Title }}">
{{- end -}}
{{- if or hugo.IsProduction (eq site.Params.env "production") -}}