Compare commits

..

No commits in common. "762d800ce4c1f71ba18a379f8d21ac20e1029783" and "3659cf902a355ef1c2e34f762a6c8bf3bea75096" have entirely different histories.

8 changed files with 12 additions and 24 deletions

View file

@ -17,7 +17,7 @@
<excludeFolder url="file://$MODULE_DIR$/env" /> <excludeFolder url="file://$MODULE_DIR$/env" />
<excludeFolder url="file://$MODULE_DIR$/venv" /> <excludeFolder url="file://$MODULE_DIR$/venv" />
</content> </content>
<orderEntry type="jdk" jdkName="Python 3.12 virtualenv at ~/Developer/personal/iamkonstantin-web/venv" jdkType="Python SDK" /> <orderEntry type="jdk" jdkName="Python 3.13 (iamkonstantin-web)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
<component name="PyDocumentationSettings"> <component name="PyDocumentationSettings">

2
.idea/misc.xml generated
View file

@ -3,5 +3,5 @@
<component name="Black"> <component name="Black">
<option name="sdkName" value="Python 3.12 (iamkonstantin-web)" /> <option name="sdkName" value="Python 3.12 (iamkonstantin-web)" />
</component> </component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 virtualenv at ~/Developer/personal/iamkonstantin-web/venv" project-jdk-type="Python SDK" /> <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.13 (iamkonstantin-web)" project-jdk-type="Python SDK" />
</project> </project>

View file

@ -1 +0,0 @@
python 3.12.8

View file

@ -1,5 +1,5 @@
.PHONY: help build publish .PHONY: help build publish
VERSION = 1.9.1 VERSION = 1.8.0
help: 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}' @perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

View file

@ -58,9 +58,8 @@
{{ post.title }} {{ post.title }}
</a> </a>
</h3> </h3>
<p class="mt-5 leading-6">{{ post.intro }}</p> <p class="mt-5 leading-6 min-h-0 lg:min-h-32">{{ post.intro }}</p>
</div> </div>
{% if post.main_image %} {% if post.main_image %}
<div class="relative mx-auto"> <div class="relative mx-auto">
{% with post.main_image as main_image %} {% with post.main_image as main_image %}
@ -83,8 +82,6 @@
</section> </section>
<section> <section>
<h2 id="newsletter" class="sr-only">Newsletter</h2>
{% include 'newsletter/snippets/signup_form.html' %} {% include 'newsletter/snippets/signup_form.html' %}
</section> </section>
{% endblock content %} {% endblock content %}

View file

@ -1,5 +1,5 @@
Django>=5.1.4,<5.2 Django>=5.1.4,<5.2
wagtail>=6.4,<6.5 wagtail>=6.3.1,<6.4
whitenoise>=6.6,<7.0 whitenoise>=6.6,<7.0
wagtailcodeblock>=1.29.0.2,<2.0 wagtailcodeblock>=1.29.0.2,<2.0
django-tailwind>=3.6.0 django-tailwind>=3.6.0

View file

@ -13,11 +13,13 @@
<form action="{% url 'search' %}" method="get" class="container"> <form action="{% url 'search' %}" method="get" class="container">
<div class="flex flex-col space-y-4"> <div class="flex flex-col space-y-4">
<label for="query" class="sr-only block text-sm font-medium leading-6">Search</label> <label for="query" class="sr-only block text-sm font-medium leading-6">Search</label>
<div class="mt-2 flex space-x-4"> <div class="mt-2">
<input type="text" placeholder="Type search keywords..." <input type="text" placeholder="Type search keywords..."
class="block w-full rounded-xl border-0 py-1.5 px-2 shadow-sm ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-inset focus:ring-klavender sm:text-sm sm:leading-6" class="block w-full rounded-md border-0 py-1.5 shadow-sm ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-inset focus:ring-klavender sm:text-sm sm:leading-6"
id="query" name="query"{% if search_query %} value="{{ search_query }}"{% endif %}> id="query" name="query"{% if search_query %} value="{{ search_query }}"{% endif %}>
</div>
<div>
<input type="submit" class="primary-button" value="Search"> <input type="submit" class="primary-button" value="Search">
</div> </div>
</div> </div>
@ -28,7 +30,7 @@
</div> </div>
</section> </section>
<section class="h-full px-0 md:px-4 lg:px-8 search"> <section class="h-full px-0 md:px-4 lg:px-8">
<div class="px-0 md:px-4 lg:px-8"> <div class="px-0 md:px-4 lg:px-8">
<h2 class="sr-only">Search results</h2> <h2 class="sr-only">Search results</h2>
@ -46,8 +48,6 @@
<h4><a href="{% pageurl result %}">{{ result }}</a></h4> <h4><a href="{% pageurl result %}">{{ result }}</a></h4>
{% if result.search_description %} {% if result.search_description %}
{{ result.search_description }} {{ result.search_description }}
{% elif result.post.intro %}
{{ result.post.intro }}
{% endif %} {% endif %}
</li> </li>
{% endfor %} {% endfor %}

View file

@ -60,19 +60,11 @@
@apply my-2 text-lg; @apply my-2 text-lg;
} }
.search li {
@apply my-6;
}
.search li h4 {
@apply inline;
}
.blog-content ul, .home-content ul { .blog-content ul, .home-content ul {
@apply list-none list-inside; @apply list-none list-inside;
} }
.blog-content ul li::before, .home-content ul li::before, .search li::before { .blog-content ul li::before, .home-content ul li::before {
content: "👉"; content: "👉";
font-family: NotoEmoji; font-family: NotoEmoji;
@apply inline-block mr-2 py-1; @apply inline-block mr-2 py-1;