From 4f8ab757e879910e8247e12ad49a043ff72e9efa718fcb73a1134551adf5cca6 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 28 Sep 2023 00:00:00 +0000 Subject: Trick browsers into not requesting absent favicon --- layouts/partials/head.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 34a6ead..846de75 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -14,6 +14,9 @@ {{- end -}} {{ else }} + {{- end -}} + {{ if (not (fileExists "static/favicon.ico")) }} + {{- end }} {{ .Title }} \ No newline at end of file -- cgit v1.2.3