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

Fix icons/src property so that it does not 404 #459

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

digitalbricklayer
Copy link
Contributor

@digitalbricklayer digitalbricklayer commented Jan 30, 2024

Fix for the icons in site.webmanifest pointing to the wrong location. The src property points to the root of the site instead of the icons directory.

Pull Request type

Please check the type of change your PR introduces:

  • Bug-fix
  • Feature (functionality, design, translations, etc.)
  • Documentation change
  • Project management (tests, CI, GitHub configuration, etc.)
  • Other (please describe):

Current state

Closes #458

Proposed changes

Changes the icon src to be relative to the icons folder. According to the site.webmanifest spec, if you specify a relative link, it assumes that the link is relative to the location of the site.webmanifest file itself.

Screenshots, if applicable

Checklist

  • Bug-fixes and new features: I have tested locally with the latest release of Hugo extended. This requirement is a standard.
  • Bug-fixes, new features, and doc changes: I have updated the relevant documentation as part of this PR.
  • All PRs: I have signed off (using git commit -s ...), or if not possible due to developer environment constraints, will comment below confirming that I am adhering to the Developer Certificate of Origin.

I am adhering to the Developer Certificate of Origin.

@chipzoller chipzoller requested a review from onweru January 30, 2024 15:02
@chipzoller
Copy link
Owner

Please sign off on your commits.

@digitalbricklayer
Copy link
Contributor Author

I am adhering to the Developer Certificate of Origin.

@chipzoller
Copy link
Owner

Your commits must be signed.

@digitalbricklayer
Copy link
Contributor Author

Can confirm change is now signed-off.

@onweru onweru merged commit 119e1ca into chipzoller:master Mar 5, 2024
3 checks passed
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.

[Bug] Icon src property doesn't point to the correct path for the icons in static/icons/site.webmanifest
3 participants