Skip to content

Commit

Permalink
Removed duplicated favicon.ico entry
Browse files Browse the repository at this point in the history
Former-commit-id: dd12256
Former-commit-id: 35d98b25361aa741cf22c7f52a1bf45dabbe56e7
  • Loading branch information
tomfran committed Aug 21, 2024
1 parent d167d72 commit de383c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@

{{ $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 -}}
Expand Down

0 comments on commit de383c1

Please sign in to comment.