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

Add canonical url and article language #67

Open
slatian opened this issue Dec 22, 2024 · 0 comments
Open

Add canonical url and article language #67

slatian opened this issue Dec 22, 2024 · 0 comments

Comments

@slatian
Copy link

slatian commented Dec 22, 2024

Hello,

your language switching feature is awesome, but I've found that some metadata is missing:

A matching lang tag on the article itself, that matches the post language as opposed to the UI language, this is an accessibility improvement as it should help with automatic translation and probably other things.

A canonical link to every post that points at the post on version with the matching language UI, this makes it easier for search crawlers to recognize that the german article on the english site is just a duplicate of the german article on the german site and vice versa, while translated articles would each point at themselves, and therefore stand alone, not being duplicates. (You already seem to track he language in the post metadata). You'd help at least one small search engine 😃

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

No branches or pull requests

1 participant