From 544e75122cbfc26002c904402746e19cf31ab219 Mon Sep 17 00:00:00 2001 From: Konstantin Kostov Date: Sat, 23 Mar 2024 16:25:04 +0100 Subject: [PATCH] improved image sizes --- blog/templates/blog/blog_index_page.html | 2 +- home/templates/home/home_page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/templates/blog/blog_index_page.html b/blog/templates/blog/blog_index_page.html index 17d63a4..534c13a 100644 --- a/blog/templates/blog/blog_index_page.html +++ b/blog/templates/blog/blog_index_page.html @@ -29,7 +29,7 @@
{% 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 %} + {% image main_image width-1600 class="blog absolute inset-0 h-full w-full rounded-2xl bg-gray-50 object-cover" %}{% endif %} {% endwith %}
diff --git a/home/templates/home/home_page.html b/home/templates/home/home_page.html index 74f7160..5649162 100644 --- a/home/templates/home/home_page.html +++ b/home/templates/home/home_page.html @@ -7,7 +7,7 @@

{{ page.title }}

- {% image page.image fill-480x320 class="rounded-2xl bg-gray-50" %} + {% image page.image original class="rounded-2xl bg-gray-50" %}

{{ page.hero_text }}

{% if page.hero_cta_link %}