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

post.section_link ignores languages #2069

Closed
Kwpolska opened this Issue Sep 11, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@Kwpolska
Member

Kwpolska commented Sep 11, 2015

In [11]: site.timeline[30].section_link('pl')
Out[11]: '/nieskategoryzowane/'

The correct output should be '/pl/nieskategoryzowane/'. I’m using sections from metadata, but I think this is a problem with the path-based implementation, too. I’ll attempt to fix it by myself.

@ralsina

This comment has been minimized.

Show comment
Hide comment
@ralsina

ralsina Sep 15, 2015

Member

Since this branch fixes the problem, I say we merge it, and then file a new issue to refactor away the method.

Member

ralsina commented Sep 15, 2015

Since this branch fixes the problem, I say we merge it, and then file a new issue to refactor away the method.

@Kwpolska Kwpolska closed this in 1c74d59 Sep 15, 2015

Kwpolska added a commit that referenced this issue Sep 15, 2015

Merge pull request #2070 from getnikola/fix-2069
Fix #2069 -- proper locale support for section links
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment