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 tags including lang and hreflang attrs for all docs #49

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kaankabalak
Copy link
Collaborator

This PR includes changes done specifically for the miniohq/gluegun
fork, compared to a more general approach where extra fields were
added to the yml file.

Instead of adding new fields to the yml file, we check the output
directory to determine if the page is for English or Chinese docs.
This commit checks if the link is valid for the translation of the page
before adding the link tags with relevant hreflang attributes.
@kaankabalak kaankabalak requested a review from deekoder May 21, 2019 06:59
@kaankabalak kaankabalak changed the title Add tags including lang and hreflang attrs for all docs. Add tags including lang and hreflang attrs for all docs May 21, 2019
@deekoder deekoder requested a review from kanagarajkm May 21, 2019 17:20
@deekoder
Copy link

@kanagarajkm we decided to do a much more simpler way of doing lang tags. Will discuss with AB and merge accordingly

@deekoder deekoder added the invalid This doesn't seem right label May 21, 2019
@deekoder
Copy link

@kaankabalak I had a discussion with @abperiasamy We are changing how we implement this. Marking this invalid since it's no longer applicable. But thank you for the pr. It helped a great deal while having the discussion.

@deekoder deekoder removed the request for review from kanagarajkm May 21, 2019 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants