feat: added parent context

This commit is contained in:
Hazel 2025-04-16 16:42:21 +02:00
parent 44b651cace
commit 9b030b24f4

View File

@ -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"