diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-09-28 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-09-28 00:00:00 +0000 |
commit | 4f8ab757e879910e8247e12ad49a043ff72e9efa718fcb73a1134551adf5cca6 (patch) | |
tree | 3d847377e6910aca1808811bc4cf3ff7b970f4300e24228adde3fc0240e834a8 /layouts/partials | |
parent | 0fe40764f8188a96fc4d25e37f2a0e4e025e4a8e5c026d8fd462ca9af0519503 (diff) | |
download | hugo-theme-journal-4f8ab757e879910e8247e12ad49a043ff72e9efa718fcb73a1134551adf5cca6.tar.gz hugo-theme-journal-4f8ab757e879910e8247e12ad49a043ff72e9efa718fcb73a1134551adf5cca6.zip |
Trick browsers into not requesting absent faviconv1.0.5
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head.html | 3 |
1 files changed, 3 insertions, 0 deletions
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 }} <link rel="stylesheet" type="text/css" href="{{ (resources.Get "css/style.css").RelPermalink }}"> + {{- end -}} + {{ if (not (fileExists "static/favicon.ico")) }} + <link rel="icon" href="data:,"> {{- end }} <title>{{ .Title }}</title> </head>
\ No newline at end of file |