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

Behavior of news posts not as expected #1

Closed
jenningsdt opened this issue Feb 23, 2021 · 3 comments
Closed

Behavior of news posts not as expected #1

jenningsdt opened this issue Feb 23, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@jenningsdt
Copy link
Collaborator

When you visit the News page, it is in English, but when you click in to any of the news stories, they change to French and the menus change to French. We need to track down the bug in the language structure.

@jenningsdt jenningsdt added the bug Something isn't working label Feb 23, 2021
@MortenHofft
Copy link
Member

The problem is that they both have the same URL, so the latter (french) overwrites the former.
What behaviour would we like to have? Automatically prefix them with the language?

I guess the confusing part is that Jekyll do not use the sub directories for anything in the _posts folder.

I'm not entirely sure what would make best sense here. If you have ideas for behaviour or better yet how to implement it, then please say so.

@MortenHofft
Copy link
Member

MortenHofft commented Feb 23, 2021

to fix it with the current setup you should simply give the french blog entry a different (unique) file name

@jenningsdt
Copy link
Collaborator Author

Thanks, @MortenHofft ! That did the trick. I will rename the other posts, which should resolve the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants