update twig to 2.9

This commit is contained in:
fowr
2023-03-29 18:59:28 -03:00
parent 08c9929eb0
commit d2bb450b1a
44 changed files with 710 additions and 606 deletions

View File

@@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply spaceless %}
<!doctype html>
<html>
<head>
@@ -46,7 +46,7 @@
<br>
</div>
<div class="ban">
{% if news|count == 0 %}
{% if news|length == 0 %}
<p style="text-align:center" class="unimportant">(No news to show.)</p>
{% else %}
{% for entry in news %}
@@ -103,4 +103,4 @@
</body>
</html>
{% endfilter %}
{% endapply %}