From efe3c23c67db176fafa63817b070ad578f14bdb0 Mon Sep 17 00:00:00 2001 From: Konstantin Kostov Date: Sat, 23 Mar 2024 15:35:03 +0100 Subject: [PATCH] layout tweaks --- blog/templates/blog/blog_index_page.html | 11 +++++----- blog/templates/blog/blog_page.html | 27 ++++++++++++++++-------- iamkonstantin_web/templates/base.html | 5 ----- theme/static_src/src/styles.css | 2 +- 4 files changed, 25 insertions(+), 20 deletions(-) diff --git a/blog/templates/blog/blog_index_page.html b/blog/templates/blog/blog_index_page.html index caf9b99..72f698a 100644 --- a/blog/templates/blog/blog_index_page.html +++ b/blog/templates/blog/blog_index_page.html @@ -12,11 +12,11 @@

{{ page.title }}

{{ page.intro|richtext }}
-
+
{% for post in blogpages %} {% with post=post.specific %} -
-
+
+
{% with post.main_image as main_image %} {% if main_image %} {% image main_image width-800 class="blog absolute inset-0 h-full w-full rounded-2xl bg-gray-50 object-cover" %}{% endif %} @@ -33,8 +33,9 @@

Tags

diff --git a/blog/templates/blog/blog_page.html b/blog/templates/blog/blog_page.html index 79a3b42..f2123d0 100644 --- a/blog/templates/blog/blog_page.html +++ b/blog/templates/blog/blog_page.html @@ -22,7 +22,11 @@

{{ author.name }}

-

+

+ +

@@ -49,20 +53,25 @@ {% with tags=page.tags.all %} {% if tags %} -
-

Tags

-
    - {% for tag in tags %} -
  • {{ tag }}
  • - {% endfor %} -
+
+
+

Tags

+
    + {% for tag in tags %} +
  • 🏷️ + {{ tag }} +
  • + {% endfor %} +
+
+ {% endif %} {% endwith %} -