From e67afd8157670e8cd178b54b9dc3e22c286fb3df Mon Sep 17 00:00:00 2001 From: Maksim Iakunin Date: Sun, 24 Oct 2021 15:24:48 +0300 Subject: [PATCH] Extracting favicons to a separate partition. This is needed to overriding in the client's code. --- layouts/partials/favicons.html | 2 ++ layouts/partials/head.html | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 layouts/partials/favicons.html diff --git a/layouts/partials/favicons.html b/layouts/partials/favicons.html new file mode 100644 index 0000000..bb271a1 --- /dev/null +++ b/layouts/partials/favicons.html @@ -0,0 +1,2 @@ + + 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 `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} - - - +{{ partial "favicons.html" . }} {{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/main.css") }} {{ range .Site.Params.customJS -}}