diff --git a/agot-bg-website/agotboardgame_main/templates/agotboardgame_main/index.html b/agot-bg-website/agotboardgame_main/templates/agotboardgame_main/index.html index 160fc278f..1247850a9 100644 --- a/agot-bg-website/agotboardgame_main/templates/agotboardgame_main/index.html +++ b/agot-bg-website/agotboardgame_main/templates/agotboardgame_main/index.html @@ -29,9 +29,13 @@

{% for post in posts %}
-

{{ post.title }}

-
{{ post.created_at | date:"d F Y" }}
- {{ post.content | safe }} + {% if post.title != "ingame-screenshot" %} +

{{ post.title }}

+
{{ post.created_at | date:"d F Y" }}
+ {{ post.content | safe }} + {% else %} + + {% endif %}
{% endfor %} diff --git a/agot-bg-website/agotboardgame_main/views.py b/agot-bg-website/agotboardgame_main/views.py index 66de2dd5a..4795d5c43 100644 --- a/agot-bg-website/agotboardgame_main/views.py +++ b/agot-bg-website/agotboardgame_main/views.py @@ -60,11 +60,14 @@ def index(request):

Happy gaming,
Gereon

- - """, "created_at": date(day=15, month=6, year=2024) }, + { + "title": "ingame-screenshot", + "content": "", + "created_at": date(day=15, month=6, year=2024) + }, { "title": "An update on Swords and Ravens", "content": """