Update favicons and touch icons
This commit is contained in:
parent
88476a707e
commit
f0931bd9d1
7 changed files with 45 additions and 19 deletions
|
@ -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") -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue