From 6be959ca812db36cbd741d3e94a019281b4c0895 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 16 Aug 2025 20:01:49 +0200 Subject: fix: remove default favicon --- layouts/partials/head.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'layouts') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index de93078..b90d3db 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -6,11 +6,14 @@ {{ $faviconPath := (.Site.Params.faviconPath | default "" | absURL) }} +{{ $faviconIco := urls.JoinPath $faviconPath "favicon.ico" }} +{{ if fileExists $faviconIco }} +{{ end }} {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} -- cgit v1.2.3