Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
section_slug() handling of multi-level directories and translations
Fixes #2023.
- Loading branch information
Showing
3 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ def gen_tasks(self): | |
posts = self.site.posts | ||
self.number_of_pages = dict() | ||
self.number_of_pages_section = dict() | ||
for lang in kw["translations"]: | ||
for lang in kw["translations"]: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
da2x
Author
Contributor
|
||
def page_link(i, displayed_i, num_pages, force_addition, extension=None): | ||
feed = "_atom" if extension == ".atom" else "" | ||
return utils.adjust_name_for_index_link(self.site.link("index" + feed, None, lang), i, displayed_i, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
why the extra whitespace?