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 30, 2024
1 parent 086ad6e commit 9b8ab76
Show file tree
Hide file tree
Showing 5 changed files with 7 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: nil, sizes: "48x48" %>
<%= 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
1 change: 1 addition & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/govuk-icon-180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/govuk-icon-mask.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/govuk-opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9b8ab76

Please sign in to comment.