From 5f5086b054bc27217a755669fc4c193519979f47 Mon Sep 17 00:00:00 2001 From: Milan Hauth Date: Mon, 26 Sep 2022 16:40:55 +0200 Subject: [PATCH] add options for favicon based on https://github.com/alex-shpak/hugo-book/pull/455 --- layouts/partials/docs/html-head.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index b22c6103e..c4fa5b3eb 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -14,7 +14,11 @@ {{- $manifest := resources.Get "manifest.json" | resources.ExecuteAsTemplate "manifest.json" . }} - +{{- if default false .Site.Params.BookFaviconPath -}} + +{{- else -}} + +{{- end -}} {{- range .Translations }}