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

Overview.md - do not hard-code language of links #160

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

Conversation

hupfis
Copy link

@hupfis hupfis commented Jun 7, 2024

- What I did
Removed the hardcoded lang attribute that would redirect users from the english version of the page to pt-br (brazlian portugese?) target pages.

- How to verify it
Preview the page and see that the generated urls no longer contain the pt-br in the path, but still resolve to the correct page (e.g. english for me).

- Description for the changelog
Documentation: Fix hard-coded languages in links

@kovacs-andras
Copy link

I just found the same.
But @hupfis shouldn't it be lang="en" instead of nothing?

@hupfis
Copy link
Author

hupfis commented Feb 22, 2025

I just found the same. But @hupfis shouldn't it be lang="en" instead of nothing?

@kovacs-andras Not supplying a lang attribute will make the link default to english anyways. (e.g. https://docs.horusec.io/docs/web/overview/ - without a language identifier in the path)

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