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>
@@ -19,7 +19,7 @@
</header>
<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 %}
@@ -40,4 +40,4 @@
{% include 'footer.html' %}
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply spaceless %}
<!doctype html>
<html>
<head>
@@ -88,4 +88,4 @@
{% endverbatim %}</script>
</body>
</html>
{% endfilter %}
{% endapply %}

View File

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

View File

@@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply spaceless %}
<!doctype html>
<html>
<head>
@@ -51,4 +51,4 @@
{% endfor %}
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply spaceless %}
<!doctype html>
<html>
<head>
@@ -13,7 +13,7 @@
</header>
<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 %}
@@ -33,4 +33,4 @@
{% include 'footer.html' %}
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply spaceless %}
<!doctype html>
<html>
<head>
@@ -38,4 +38,4 @@
</fieldset>
</body>
</html>
{% endfilter %}
{% endapply %}

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 %}

View File

@@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply spaceless %}
<!doctype html>
<html>
<head>
@@ -60,4 +60,4 @@
</body>
</html>
{% endfilter %}
{% endapply %}

View File

@@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply spaceless %}
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/"
version="2.0">
@@ -25,4 +25,4 @@
{% endfor %}
</channel>
</rss>
{% endfilter %}
{% endapply %}

View File

@@ -1,4 +1,4 @@
{% filter remove_whitespace %}
{% apply spaceless %}
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for board in boards %}
@@ -16,4 +16,4 @@
{% endfor %}
{% endfor %}
</urlset>
{% endfilter %}
{% endapply %}