update twig to 2.9

This commit is contained in:
fowr committed 2023-03-29 18:59:28 -03:00
1 parent 08c9929eb0
commit d2bb450b1a
44 files changed
+710 -606

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@
</div>
{% endfor %}
{% if count > news|count %}
{% if count > news|length %}
<p class="unimportant" style="text-align:center;word-wrap:break-word">
{% for i in range(0, (count - 1) / config.mod.news_page) %}
<a href="?/news/{{ i + 1 }}">[{{ i + 1 }}]</a>