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

check if translation exist before adding alternate tags #107

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

Conversation

timnarr
Copy link

@timnarr timnarr commented Aug 15, 2024

Hi Tobias,

thanks for this plugin 🙌

I just noticed that kirby-seo outputs alternate tags for pages that doesn't have a existing content file for this language.

I've added a simple check by using the page methods translation() and exists() to check if the page for a given language code exists on disk.

Pls let me know if you need more information from me.

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.

1 participant