Skip to content

Conversation

@MoritzWeber0
Copy link
Member

@MoritzWeber0 MoritzWeber0 commented Dec 29, 2025

In #541 a feature was introduced that allows links to be referenced by their path. The implementation didn't consider relative URLs like the ones including a language prefix like /en/news. This PR fixes the behavior to make those links working again.

Also replace more links with the link partial for consistency.

In #541 a feature was introduced that allows links to be referenced
by their path. The implementation didn't consider relative URLs like
the ones including a language prefix like `/en/news`.
This commit fixes the behaviour to make those links working again.
@github-actions
Copy link

github-actions bot commented Dec 29, 2025

Hi there! 👋

Thank you for your contribution to the FIP Guide! 🚀
We appreciate your effort in making rail staff travel information more accessible. 🚄

Checklist before merging:

  • Added a description to the Pull Request
  • Checked the License of new pictures (non-commercial use without attribution)
  • Modified content in English
  • Modified content in German
  • Modified content in French

@netlify
Copy link

netlify bot commented Dec 29, 2025

Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit dd52ec5
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/69529e7933aa6200089d7add
😎 Deploy Preview https://deploy-preview-556--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@therobrob therobrob left a comment

Choose a reason for hiding this comment

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

Thanks for fixing it so quickly! <3

@therobrob therobrob merged commit a364f76 into main Dec 29, 2025
7 checks passed
@therobrob therobrob deleted the fix/allow-relative-urls branch December 29, 2025 15:45
@therobrob therobrob linked an issue Dec 29, 2025 that may be closed by this pull request
@MoritzWeber0 MoritzWeber0 added the technical Technical issues, e.g. related to Hugo, HTML, CSS, deployment, etc. label Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical Technical issues, e.g. related to Hugo, HTML, CSS, deployment, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Links to operators in poland site not working

3 participants