diff --git a/stsg/build.py b/stsg/build.py index 6ec9cec..83b6af5 100644 --- a/stsg/build.py +++ b/stsg/build.py @@ -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"