From 76c92f0d7f35a808c69fd21c5a1ed9b664cd6b5b Mon Sep 17 00:00:00 2001 From: William Ouwehand Date: Fri, 19 May 2023 09:37:30 +0200 Subject: show section content in posts.html --- templates/posts.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/posts.html') diff --git a/templates/posts.html b/templates/posts.html index 13dc274..55d997f 100644 --- a/templates/posts.html +++ b/templates/posts.html @@ -43,6 +43,9 @@ This Template can also be used as the rendering template for Sections, eg: examp {%- if section_item.title %}

{{ section_item.title }}

{%- endif %} + + {{ section_item.content | safe }} + {%- for year, posts in section_item.pages | group_by(attribute="year") %} {%- if section_item.title %}

{{ year }}

{%- else %}

{{ year }}

{%- endif %} {%- for post in posts %} -- cgit v1.3.1