Skip to content
Permalink
Browse files

Similar fix to getnikola/nikola#3072.

  • Loading branch information
felixfontein committed May 4, 2018
1 parent 3dcdeb7 commit 6a599570a4e81e1bd542d4d86368812d1a8650b8
Showing with 3 additions and 3 deletions.
  1. +3 −3 v7/hierarchical_pages/hierarchical_pages.py
@@ -104,11 +104,11 @@ def scan(self):
if not any([x.startswith('.')
for x in p.split(os.sep)])]

for base_path in full_list:
for base_path in sorted(full_list):
if base_path in seen:
continue
else:
seen.add(base_path)
for lang in self.site.config['TRANSLATIONS'].keys():
seen.add(utils.get_translation_candidate(self.site.config, base_path, lang))
# Extract path
path = utils.os_path_split(os.path.relpath(base_path, dirname))
path[-1] = os.path.splitext(path[-1])[0]

0 comments on commit 6a59957

Please sign in to comment.