diff --git a/_scripts/generate.py b/_scripts/generate.py index d47cf15..edeae3f 100644 --- a/_scripts/generate.py +++ b/_scripts/generate.py @@ -164,6 +164,8 @@ def render(headline, doc): content = [] render_tree(dom, content) + for child in headline.children: + content.append(render(child, doc)) if headline.state is None: state = ""