Skip to content

Commit

Permalink
Remove image tag frmo favicon_link_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpattinson committed Dec 16, 2024
1 parent 22f04df commit 70f0ca9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/layouts/base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

<link rel="shortcut icon" sizes="16x16 32x32 48x48" href="favicon.ico" type="image/x-icon">
<link rel="mask-icon" href="govuk-mask-icon.svg" color="#0b0c0c">
<%= favicon_link_tag image_path('favicon.ico'), type: nil, sizes: "48x48" %>
<%= favicon_link_tag image_path('favicon.svg'), type: 'image/svg+xml', sizes: "any" %>
<%= favicon_link_tag image_path('govuk-icon-mask.svg'), rel: 'mask-icon', color: "#0b0c0c", type: nil %>
<%= favicon_link_tag image_path('govuk-icon-180.png'), rel: 'apple-touch-icon', type: nil %>
<%= favicon_link_tag '/favicon.ico', type: nil, sizes: "48x48" %>
<%= favicon_link_tag '/favicon.svg', type: 'image/svg+xml', sizes: "any" %>
<%= favicon_link_tag '/govuk-icon-mask.svg', rel: 'mask-icon', color: "#0b0c0c", type: nil %>
<%= favicon_link_tag '/govuk-icon-180.png', rel: 'apple-touch-icon', type: nil %>

<%= tag :meta, property: 'og:image', content: image_path('govuk-opengraph-image.png') %>
<%= tag :meta, property: 'og:image', content: '/govuk-opengraph-image.png' %>

<%= stylesheet_link_tag "main" %>
<%= javascript_include_tag "main", defer: true %>
Expand Down

0 comments on commit 70f0ca9

Please sign in to comment.