From 2a2c59d2b894c80d4fdff237de305892b3e108f6 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Tue, 6 May 2025 18:50:52 +0200 Subject: [PATCH] feat: upgrade wagtail, tags fixed classes --- Makefile | 2 +- blog/templates/blog/blog_page.html | 4 ---- home/templates/home/home_page.html | 5 ----- requirements.txt | 4 ++-- theme/static_src/src/styles.css | 4 ++-- 5 files changed, 5 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 968102b..84a7b1f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .PHONY: help build publish -VERSION = 1.9.3 +VERSION = 1.9.4 help: @perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' diff --git a/blog/templates/blog/blog_page.html b/blog/templates/blog/blog_page.html index c790824..e0898cb 100644 --- a/blog/templates/blog/blog_page.html +++ b/blog/templates/blog/blog_page.html @@ -79,8 +79,4 @@ - -
- {% include 'newsletter/snippets/signup_form.html' %} -
{% endblock %} \ No newline at end of file diff --git a/home/templates/home/home_page.html b/home/templates/home/home_page.html index a84696a..00ed3b9 100644 --- a/home/templates/home/home_page.html +++ b/home/templates/home/home_page.html @@ -82,9 +82,4 @@ -
-

Newsletter

- {% include 'newsletter/snippets/signup_form.html' %} -
- {% endblock content %} \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 459655b..e4b21fe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -Django>=5.1.4,<5.2 -wagtail>=6.4.1,<6.5 +Django>=5.2,<5.3 +wagtail>=7.0,<7.1 whitenoise>=6.6,<7.0 wagtailcodeblock>=1.29.0.2,<2.0 django-tailwind>=3.6.0 diff --git a/theme/static_src/src/styles.css b/theme/static_src/src/styles.css index 32a2042..d83286a 100644 --- a/theme/static_src/src/styles.css +++ b/theme/static_src/src/styles.css @@ -124,11 +124,11 @@ } .tags ul { - @apply flex space-x-4 text-center text-sm; + @apply flex space-x-2 text-center text-sm; } .tags li { - @apply p-4 inline-flex items-center rounded-2xl bg-green-50 px-2 py-1 font-medium text-green-700 ring-1 ring-inset ring-green-600/20; + @apply p-3 inline-flex items-center rounded-2xl px-2 py-1 text-sm text-black dark:text-white ring-1 ring-inset ring-orange-700/20 dark:ring-white bg-orange-50 dark:bg-transparent; } .tags ul li::before {