diff --git a/templates/macros/macros.html b/templates/macros/macros.html index fa25568..029cea6 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -77,6 +77,12 @@ {% endmacro content %} +{% macro index_content(page) %} +
+ {{ page.content | safe }} +
+{% endmacro content %} + {% macro content(page) %}
diff --git a/templates/section.html b/templates/section.html index 01d1ff5..3b7d2c8 100644 --- a/templates/section.html +++ b/templates/section.html @@ -9,6 +9,8 @@ {{ post_macros::page_desc(desc=section.extra.desc) }} {% endif -%} +{{ post_macros::index_content(page=section) }} +
{{ post_macros::page_header(title=section.title) }}