Skip to content

Conversation

@gaurav-nelson
Copy link
Collaborator

Fix sidebar navigation links to use relative URLs

Problem

Sidebar links were hardcoded to point to https://validatedpatterns.io/ using .Permalink, causing navigation issues when running the site locally (localhost:1313) or on Netlify preview environments.

Solution

Changed sidebar navigation in layouts/partials/menu-patterns.html to use .RelPermalink instead of .Permalink.

https://gohugo.io/methods/page/relpermalink/

@ocpdocs-previewbot
Copy link

🤖 Fri Oct 24 02:10:08 - The preview is ready at:
https://611--patternsdocs-pr.netlify.app

Copy link
Contributor

@dminnear-rh dminnear-rh left a comment

Choose a reason for hiding this comment

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

LGTM

@openshift-ci openshift-ci bot added the lgtm label Oct 24, 2025
@gaurav-nelson gaurav-nelson merged commit 0f4f4d5 into validatedpatterns:main Oct 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants