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

Added hierarchical_pages plugin. #178

Merged
merged 1 commit into from Oct 15, 2016
Merged

Conversation

@felixfontein
Copy link
Contributor

felixfontein commented Oct 14, 2016

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)).

MinVersion = 7.8.2

[Documentation]
Author = Roberto Alsina and others

This comment has been minimized.

Copy link
@Kwpolska

Kwpolska Oct 15, 2016

Member

Is it really? (same in © notice)

This comment has been minimized.

Copy link
@felixfontein

felixfontein Oct 15, 2016

Author Contributor

Since most of the code is copy'n'pasted from various Nikola parts, kind of yes.

This comment has been minimized.

Copy link
@Kwpolska

Kwpolska Oct 15, 2016

Member

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)

This comment has been minimized.

Copy link
@felixfontein

felixfontein Oct 15, 2016

Author Contributor

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:

This comment has been minimized.

Copy link
@Kwpolska

Kwpolska Oct 15, 2016

Member

English* above, German* here (and in other places)

This comment has been minimized.

Copy link
@felixfontein

felixfontein Oct 15, 2016

Author Contributor

Fixed

@felixfontein felixfontein merged commit e9f67ba into getnikola:master Oct 15, 2016
1 check failed
1 check failed
continuous-integration/travis-ci/pr The Travis CI build failed
Details
@felixfontein
Copy link
Contributor Author

felixfontein commented Oct 15, 2016

Whoops, looks like I (again) pushed to the wrong repo... Sorry!

@getnikola getnikola locked and limited conversation to collaborators Oct 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.