From 1f25aa16cb48b8f3553adf49e90118c2b227c718 Mon Sep 17 00:00:00 2001 From: Federico Denkena Date: Sat, 4 Nov 2023 01:55:35 +0100 Subject: [PATCH] fixed design for newspage and post --- templates/newspage.html | 4 ++-- templates/post.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/newspage.html b/templates/newspage.html index 1a7b37db..305433b6 100644 --- a/templates/newspage.html +++ b/templates/newspage.html @@ -7,14 +7,14 @@

Erfahren Sie das Neuste über die IM-PULS-Tagung in unserem kleinen Mini-Blog!

{% for obj in latest %} -
+
{{ obj.title }}
{{ obj.overview }}
{% for category in obj.categories.all %}

Kategorie: {{ category.title }}

{% endfor %}
-
+
{% endfor %}
diff --git a/templates/post.html b/templates/post.html index 9ca3a02f..d963066c 100644 --- a/templates/post.html +++ b/templates/post.html @@ -4,10 +4,10 @@ {% block content %}
-

{{ post.title }}

-

Autor: {{ post.author }}

+

{{ post.title }}

+

Autor: {{ post.author }}

-
+
{{ post.content | markdown | safe}}