Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Mitrichius/hugo-theme-anubis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Iakunin <yakuninm+github@gmail.com>2021-10-24 15:24:48 +0300
committerMaksim Iakunin <yakuninm+github@gmail.com>2021-10-24 15:24:48 +0300
commite67afd8157670e8cd178b54b9dc3e22c286fb3df (patch)
treefbff292f91c8be41b072eb8f9739a98f8701e60d /layouts/partials/head.html
parentff9c34071715f718461022b3479d06850c0c0e9a (diff)
Extracting favicons to a separate partition.
This is needed to overriding in the client's code.
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index a8253b9..6fd87a9 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -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 -}}