diff options
author | Wolfgang Müller | 2021-06-24 16:30:21 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-06-24 16:30:21 +0200 |
commit | a448330931be337f50513d09ff7a73b8f7007182 (patch) | |
tree | 269de68c3f452c70a2e01128a0e4ec703388ef43 /templates | |
parent | b9130a7743e36647cc5211f0eb574202e404e85f (diff) | |
download | zunzuncito-a448330931be337f50513d09ff7a73b8f7007182.tar.gz |
templates: Simplify Tera blocks
We don't need to reference the block name in the 'endblock' statement if
blocks are not nested.
Diffstat (limited to '')
-rw-r--r-- | templates/index.html | 2 | ||||
-rw-r--r-- | templates/page.html | 2 | ||||
-rw-r--r-- | templates/tags/list.html | 2 | ||||
-rw-r--r-- | templates/tags/single.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/index.html b/templates/index.html index 87220f7..045c8a2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,4 +5,4 @@ {{ macros::render_post(post=post) }} {%- endfor -%} {{ macros::render_pagination(paginator=paginator) }} -{%- endblock content %} +{%- endblock %} diff --git a/templates/page.html b/templates/page.html index 0a7b3fd..ac9a458 100644 --- a/templates/page.html +++ b/templates/page.html @@ -9,4 +9,4 @@ {{ macros::render_post(post=page, class="mention") }} {%- endfor %} {%- endif %} -{%- endblock content %} +{%- endblock %} 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 %} </ul> </nav> -{% 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 %} |