Improve search

This new approach makes sure the input field is hidden on browsers which
ignore `display:none`, such as w3m or lynx.
This commit is contained in:
em committed 2025-05-14 14:51:49 +02:00
1 parent a2b355477f
commit b851a127c7
3 files changed
+19 -12

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
{% block content %}
<h1>{{ section.title }}</h1>
<input class="search" type="search" placeholder="Search">
<div class="search-wrapper"></div>
{{ macros::list_posts() }}
{% endblock content %}