aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorWilliam Ouwehand2023-05-19 09:37:30 +0200
committerJieiku2023-05-22 23:25:19 -0700
commit76c92f0d7f35a808c69fd21c5a1ed9b664cd6b5b (patch)
tree657b43f2e2c2503651cbef3efd3575797b4f9d8c /templates
parent3af6d9131f6dfc138856d718ec96626344095ec8 (diff)
downloadabridge-76c92f0d7f35a808c69fd21c5a1ed9b664cd6b5b.tar.gz
abridge-76c92f0d7f35a808c69fd21c5a1ed9b664cd6b5b.tar.bz2
abridge-76c92f0d7f35a808c69fd21c5a1ed9b664cd6b5b.zip
show section content in posts.html
Diffstat (limited to 'templates')
-rw-r--r--templates/posts.html3
1 files changed, 3 insertions, 0 deletions
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 %}
<h2>{{ section_item.title }}</h2>
{%- endif %}
+
+ {{ section_item.content | safe }}
+
{%- for year, posts in section_item.pages | group_by(attribute="year") %}
{%- if section_item.title %}<h3>{{ year }}</h3>{%- else %}<h2>{{ year }}</h2>{%- endif %}
{%- for post in posts %}