refactor: ensure destination root is included in render meta
This commit is contained in:
parent
3a9d180da6
commit
9664c43496
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def build_site(
|
||||||
|
|
||||||
site_root = client.get_document_tree("Blog")
|
site_root = client.get_document_tree("Blog")
|
||||||
|
|
||||||
site_metadata = {"documents": site_root.list()}
|
site_metadata = {"root_path": destination_path, "documents": site_root.list()}
|
||||||
|
|
||||||
docs = [site_root]
|
docs = [site_root]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue