tests misleadingly had a leading /, need to append it ourselves
This commit is contained in:
@@ -66,5 +66,5 @@ def generate_parent_navs(path):
|
||||
with app.open_instance_resource(resolved_path, 'r') as entry_file:
|
||||
entry = entry_file.read()
|
||||
_ = Markup(md.convert(entry))
|
||||
page_name = " ".join(md.Meta.get('title')) if md.Meta.get('title') else path
|
||||
return generate_parent_navs(parent_path) + [(page_name, path)]
|
||||
page_name = " ".join(md.Meta.get('title')) if md.Meta.get('title') else f'/{path}'
|
||||
return generate_parent_navs(parent_path) + [(page_name, f'/{path}')]
|
||||
|
||||
Reference in New Issue
Block a user