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
Added hierarchical_pages plugin. #178
Conversation
MinVersion = 7.8.2 | ||
|
||
[Documentation] | ||
Author = Roberto Alsina and others |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it really? (same in © notice)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since most of the code is copy'n'pasted from various Nikola parts, kind of yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The typical way i’d solve it would be
Roberto Alsina, Felix Fontein and others
but that’s just my thing. (In any case, you’re the one who should get the blame for any bugs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also changed.
- `https://example.com/about/team/roberto-alsina/` | ||
|
||
Now assume you want to make your homepage available in more languages, say | ||
also in german. You want the URLs for the translated posts to be: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
English* above, German* here (and in other places)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Whoops, looks like I (again) pushed to the wrong repo... Sorry! |
This is a demonstration how getnikola/nikola#2502 could be used to translate the full URLs of pages without repeating information (like for example the
.. path: xx
solution described in getnikola/nikola#2116 (comment)).