Compare commits
No commits in common. "762d800ce4c1f71ba18a379f8d21ac20e1029783" and "3659cf902a355ef1c2e34f762a6c8bf3bea75096" have entirely different histories.
762d800ce4
...
3659cf902a
8 changed files with 12 additions and 24 deletions
2
.idea/iamkonstantin-web.iml
generated
2
.idea/iamkonstantin-web.iml
generated
|
@ -17,7 +17,7 @@
|
|||
<excludeFolder url="file://$MODULE_DIR$/env" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||
</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" />
|
||||
</component>
|
||||
<component name="PyDocumentationSettings">
|
||||
|
|
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
|
@ -3,5 +3,5 @@
|
|||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.12 (iamkonstantin-web)" />
|
||||
</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>
|
|
@ -1 +0,0 @@
|
|||
python 3.12.8
|
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
.PHONY: help build publish
|
||||
VERSION = 1.9.1
|
||||
VERSION = 1.8.0
|
||||
|
||||
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}'
|
||||
|
|
|
@ -58,9 +58,8 @@
|
|||
{{ post.title }}
|
||||
</a>
|
||||
</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>
|
||||
|
||||
{% if post.main_image %}
|
||||
<div class="relative mx-auto">
|
||||
{% with post.main_image as main_image %}
|
||||
|
@ -82,9 +81,7 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 id="newsletter" class="sr-only">Newsletter</h2>
|
||||
<section>
|
||||
{% include 'newsletter/snippets/signup_form.html' %}
|
||||
</section>
|
||||
|
||||
{% endblock content %}
|
|
@ -1,5 +1,5 @@
|
|||
Django>=5.1.4,<5.2
|
||||
wagtail>=6.4,<6.5
|
||||
wagtail>=6.3.1,<6.4
|
||||
whitenoise>=6.6,<7.0
|
||||
wagtailcodeblock>=1.29.0.2,<2.0
|
||||
django-tailwind>=3.6.0
|
||||
|
|
|
@ -13,11 +13,13 @@
|
|||
<form action="{% url 'search' %}" method="get" class="container">
|
||||
<div class="flex flex-col space-y-4">
|
||||
<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..."
|
||||
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 %}>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<input type="submit" class="primary-button" value="Search">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -28,7 +30,7 @@
|
|||
</div>
|
||||
</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">
|
||||
<h2 class="sr-only">Search results</h2>
|
||||
|
||||
|
@ -46,8 +48,6 @@
|
|||
<h4><a href="{% pageurl result %}">{{ result }}</a></h4>
|
||||
{% if result.search_description %}
|
||||
{{ result.search_description }}
|
||||
{% elif result.post.intro %}
|
||||
{{ result.post.intro }}
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
|
@ -60,19 +60,11 @@
|
|||
@apply my-2 text-lg;
|
||||
}
|
||||
|
||||
.search li {
|
||||
@apply my-6;
|
||||
}
|
||||
|
||||
.search li h4 {
|
||||
@apply inline;
|
||||
}
|
||||
|
||||
.blog-content ul, .home-content ul {
|
||||
@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: "👉";
|
||||
font-family: NotoEmoji;
|
||||
@apply inline-block mr-2 py-1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue