Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove image path from favicon link tags #1161

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

richardpattinson
Copy link
Contributor

Context

The image tag helper was causing incorrect path loading for assets.

Changes proposed in this pull request

Guidance to review

Link to Trello card

Checklist

  • Attach to Trello card
  • Rebased main
  • Cleaned commit history
  • Tested by running locally

@richardpattinson richardpattinson requested a review from a team as a code owner December 16, 2024 14:15
@richardpattinson richardpattinson force-pushed the Remove-image_path-from-favicon-link-tags branch 6 times, most recently from fb5dff1 to dd2544d Compare December 30, 2024 15:03
@@ -11,12 +11,12 @@

<link rel="shortcut icon" sizes="16x16 32x32 48x48" href="favicon.ico" type="image/x-icon">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<link rel="shortcut icon" sizes="16x16 32x32 48x48" href="favicon.ico" type="image/x-icon">

Comment on lines 14 to 16
<%= 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 %>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<%= 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 %>
<%= 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 %>

@richardpattinson richardpattinson force-pushed the Remove-image_path-from-favicon-link-tags branch 3 times, most recently from 317181d to 4600204 Compare December 30, 2024 15:47
@richardpattinson richardpattinson force-pushed the Remove-image_path-from-favicon-link-tags branch from 4600204 to 01480d8 Compare December 30, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants