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 page header URL interpolation following Hugo upgrades #27878

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

arusahni
Copy link
Contributor

@arusahni arusahni commented Jun 25, 2024

Motivation

  • This PR fixes a previously unreported bug.
    This addresses two issues following the Hugo upgrade.
  • The BaseURL parameter has a trailing slash, so concatenation for favicon paths was generating invalid URLs.
  • The og:url property was generating duplicated /docs/docs/ paths. Let's always rely on the permalink.

Checklist

This addresses two issues following the Hugo upgrade.

- The `BaseURL` parameter has a trailing slash, so concatenation for
  favicon paths was generating invalid URLs.
- The `og:url` property was generating duplicated `/docs/docs/` paths.
  Let's always rely on the permalink.
@arusahni arusahni requested a review from morsapaes as a code owner June 25, 2024 18:44
@arusahni arusahni merged commit 4a5da98 into MaterializeInc:main Jun 25, 2024
11 checks passed
@arusahni arusahni deleted the fix/broken-docs-favicons branch June 25, 2024 19:05
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