diff options
| author | Appleman1234 <applemansigloo@gmail.com> | 2021-07-06 19:37:21 +1000 |
|---|---|---|
| committer | Appleman1234 <applemansigloo@gmail.com> | 2021-07-06 19:37:21 +1000 |
| commit | bae0a912c7b5aee2eb43bf1a138f40d60fdb2d0e (patch) | |
| tree | 1359bd32c2b87edc667ec4a72ee4792f8741702f /templates/themes | |
| parent | 3a5a57bf64dd2811da912ff4db16fbc2db7284db (diff) | |
Fix uncountable error in basic theme
Diffstat (limited to 'templates/themes')
| -rw-r--r-- | templates/themes/basic/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/basic/index.html b/templates/themes/basic/index.html index 94bc79d0..213e2ede 100644 --- a/templates/themes/basic/index.html +++ b/templates/themes/basic/index.html @@ -24,7 +24,7 @@ <img src="static/lain_is_cute_datass_small_teal.png" alt="mascot"/> </center> <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 %} |
