diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c2cb0448..f19a05ba 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -18,13 +18,12 @@ Congo
{{ end }} + {{/* Extend footer - eg. for extra scripts, etc. */}} + {{ if templates.Exists "partials/extend-footer.html" }} + {{ partialCached "extend-footer.html" . }} + {{ end }} -{{/* Extend footer - eg. for extra scripts, etc. */}} -{{ if templates.Exists "partials/extend-footer.html" }} - {{ partialCached "extend-footer.html" . }} -{{ end }} - {{/* Include mermaid.js only on pages that use the shortcode */}} {{- if (in (string .Content) "class=\"mermaid\"") -}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2026d460..93520d5e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -29,10 +29,14 @@ {{- end }} {{/* Icons */}} - - - - + {{ if templates.Exists "partials/favicons.html" }} + {{ partialCached "favicons.html" .Site }} + {{ else }} + + + + + {{ end }} {{/* Site Verification */}} {{ with .Site.Params.verification.google }}