summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorFrancesco <tomaselli.fr@gmail.com>2024-08-21 19:41:44 +0200
committerFrancesco <tomaselli.fr@gmail.com>2024-08-21 19:45:38 +0200
commit76c69da682727779b24de784ae90bce1388b33dd (patch)
tree01aa4c717567d03c9f8ed8dbf3199c9caf8eba41 /layouts
parent60e767b0099301e71f331c310762dcf8ae6bdfdf (diff)
Removed duplicated favicon.ico entry
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b7b943f..81d6edd 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -4,15 +4,13 @@
{{ $faviconPath := (.Site.Params.faviconPath | default "" | absURL) }}
<link rel="icon" type="image/ico" href="{{ $faviconPath }}/favicon.ico">
-<link rel="icon" type="image/ico" href="{{ $faviconPath }}/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="{{ $faviconPath }}/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{ $faviconPath }}/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="192x192" href="{{ $faviconPath }}/android-chrome-192x192.png">
<link rel="apple-touch-icon" sizes="180x180" href="{{ $faviconPath }}/apple-touch-icon.png">
{{ with .OutputFormats.Get "rss" -}}
-{{ printf `
-<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
+{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
{{ end }}
{{- if .IsHome -}}