diff options
author | Wolfgang Müller | 2021-06-16 15:26:30 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-06-16 17:03:47 +0200 |
commit | 276e7d3a0cea3b21823465c188d8baf76c868d07 (patch) | |
tree | 714e2f196714d6d517c13334c2b47f49cba429bf /templates/page.html | |
parent | 635e7a68353be4ad9c2ac1ceac5fb7fc122d32fb (diff) | |
download | zunzuncito-276e7d3a0cea3b21823465c188d8baf76c868d07.tar.gz |
templates: Only render post title in the feed
We can get rid of the post title in the banner since the base template
now renders it in the main banner whenever we show a single post.
Diffstat (limited to '')
-rw-r--r-- | templates/page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html index 07fe19d..fc733d5 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,7 +1,7 @@ {% extends "base.html" -%} {%- block content %} -{{ macros::render_post(post=page, in_feed=false) }} +{{ macros::render_post(post=page, render_title=false) }} {%- if "mentions" in page.extra and page.extra.mentions | length > 0 -%} <h2 class="mentions">Mentioned posts</h2> {%- for ref in page.extra.mentions %} |