diff options
| author | Appleman1234 <applemansigloo@gmail.com> | 2021-07-06 19:31:21 +1000 |
|---|---|---|
| committer | Appleman1234 <applemansigloo@gmail.com> | 2021-07-06 19:31:21 +1000 |
| commit | e044c13713c90d295da5eb292e879ec9ddfd249d (patch) | |
| tree | 6bb638bc050ce4952d956976c6d850285ed6dad7 /templates/themes/frameset | |
| parent | 94f6f6acc6b7d3615a62f9364cf4a8206aa6d8c0 (diff) | |
Fixing the uncountable error by using twig count explicitly for frameset and categories themes
Diffstat (limited to 'templates/themes/frameset')
| -rw-r--r-- | templates/themes/frameset/news.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/frameset/news.html b/templates/themes/frameset/news.html index 0719079f..320c64d3 100644 --- a/templates/themes/frameset/news.html +++ b/templates/themes/frameset/news.html @@ -13,7 +13,7 @@ </header> <div class="ban"> - {% if not news %} + {% if news|count == 0 %} <p style="text-align:center" class="unimportant">(No news to show.)</p> {% else %} {% for entry in news %} |
