1
0

Enable search on category listing

This commit is contained in:
2021-12-04 22:10:40 +01:00
parent d090f61543
commit 5403e0e556
3 changed files with 27 additions and 23 deletions

View File

@ -2,5 +2,10 @@
{% block content %}
<h1>{{ term.name }} category</h1>
<input id="search" class="search" type="text" placeholder="Search titles" oninput="filter_name(this.value)">
{{ macros::list_posts(section=term, taxonomy=true) }}
{% endblock %}
{% block script %}
<script src="/js/search.js"></script>
{% endblock %}