-
-
{% include "partials/toc.html" %}
-
- {% include "partials/info_box.html" %}
- {% include "partials/news.html" %}
- {% for game in games %}
- {% include "partials/game_card.html" %}
- {% endfor %}
-
+
+
{% endblock content %}
diff --git a/core/templates/partials/news.html b/core/templates/partials/news.html
index e56f35f..ef290f4 100644
--- a/core/templates/partials/news.html
+++ b/core/templates/partials/news.html
@@ -1,44 +1,48 @@
-
+
-
-
+ {% include "partials/toc.html" %}
+
+ {% include "partials/info_box.html" %}
+ {% include "partials/news.html" %}
+ {% for game in games %}
+ {% include "partials/game_card.html" %}
+ {% endfor %}
-
-
-
-
Site news
-
- {% for webhook in webhooks %}
-
-
- {{ webhook.name }}
-
+{% else %}
+
-
-
+{% if webhooks %}
+
-
+
+
+
+
Site news
+
+ {% for webhook in webhooks %}
+
-
-
- {% endfor %}
+ {% endfor %}
+
-
-
-
- -
-
-
-
-
-
-
-
- No webhooks added yet.
+{% endif %}