Merge pull request #110 from iakunin/2021-10-24_extracting_favicons_partial
Extracting favicons to a separate partition.
This commit is contained in:
commit
fd6a2df136
2
layouts/partials/favicons.html
Normal file
2
layouts/partials/favicons.html
Normal file
@ -0,0 +1,2 @@
|
||||
<link rel="icon" type="image/x-icon" href="{{ "favicon.ico" | absURL }}">
|
||||
<link rel="apple-touch-icon-precomposed" href="{{ "favicon.png" | absURL }}">
|
@ -11,9 +11,7 @@
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="{{ "favicon.ico" | absURL }}">
|
||||
<link rel="apple-touch-icon-precomposed" href="{{ "favicon.png" | absURL }}">
|
||||
|
||||
{{ partial "favicons.html" . }}
|
||||
{{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/main.css") }}
|
||||
|
||||
{{ range .Site.Params.customJS -}}
|
||||
|
Loading…
Reference in New Issue
Block a user