From a448330931be337f50513d09ff7a73b8f7007182 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 24 Jun 2021 16:30:21 +0200 Subject: templates: Simplify Tera blocks We don't need to reference the block name in the 'endblock' statement if blocks are not nested. --- templates/tags/list.html | 2 +- templates/tags/single.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/tags') diff --git a/templates/tags/list.html b/templates/tags/list.html index 260bb57..91cfea3 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -8,4 +8,4 @@ {%- endfor %} -{% endblock content %} +{% endblock %} diff --git a/templates/tags/single.html b/templates/tags/single.html index 3cbdde4..9d4aeed 100644 --- a/templates/tags/single.html +++ b/templates/tags/single.html @@ -5,4 +5,4 @@ {{ macros::render_post(post=post) }} {%- endfor %} {{ macros::render_pagination(paginator=paginator) }} -{%- endblock content %} +{%- endblock %} -- cgit v1.2.3-2-gb3c3