feat: added parent context
This commit is contained in:
parent
44b651cace
commit
9b030b24f4
@ -171,6 +171,8 @@ class Article:
|
||||
|
||||
self.context: Dict[str, Any] = {}
|
||||
self.context_shared: Dict[str, Any] = {}
|
||||
if parent is not None:
|
||||
self.context["parent"] = parent.context_shared
|
||||
|
||||
# initializing the config values of the article
|
||||
config_file = self.directory / "index.toml"
|
||||
|
Loading…
x
Reference in New Issue
Block a user