From d287b3291d9999f0c2174f671aba288c3865d3e8 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Mon, 2 Oct 2023 11:16:23 +0200 Subject: [PATCH] image scaling and styling --- gawa/blog/templates/blog/blogpost.html | 56 +++++++++++++------------- gawa/blog/templates/blog/featured.html | 4 +- 2 files changed, 29 insertions(+), 31 deletions(-) diff --git a/gawa/blog/templates/blog/blogpost.html b/gawa/blog/templates/blog/blogpost.html index 8d973b8..09a0e79 100644 --- a/gawa/blog/templates/blog/blogpost.html +++ b/gawa/blog/templates/blog/blogpost.html @@ -22,39 +22,37 @@
-
- {% if LANGUAGE_CODE == "de" %} -

- {{ post.title_de }} -
- {{ post.subtitle_de }} -

-
- {% elif LANGUAGE_CODE == "en" %} -

- {{ post.title_en }} -
- {{ post.subtitle_en }} -

-
- {% else %} -

- {{ post.title_en }} -
- {{ post.subtitle_en }} -

-
- {% endif %} -
-
-
thumbnail
-
-
+
+
+ {% if LANGUAGE_CODE == "de" %} +

+ {{ post.title_de }} +
+ {{ post.subtitle_de }} +

+
+ {% elif LANGUAGE_CODE == "en" %} +

+ {{ post.title_en }} +
+ {{ post.subtitle_en }} +

+
+ {% else %} +

+ {{ post.title_en }} +
+ {{ post.subtitle_en }} +

+
+ {% endif %} +
+
{% if LANGUAGE_CODE == "de" %}

{{ post.desc_de }}

{% elif LANGUAGE_CODE == "en" %} @@ -63,7 +61,7 @@

{{ post.desc_en }}

{% endif %}
-
+

{{ post.category.name }}

diff --git a/gawa/blog/templates/blog/featured.html b/gawa/blog/templates/blog/featured.html index 4f025e5..a575c4f 100644 --- a/gawa/blog/templates/blog/featured.html +++ b/gawa/blog/templates/blog/featured.html @@ -9,8 +9,8 @@ thumbnail
{% if LANGUAGE_CODE == "de" %}