1
0
Fork 0

Add search for author

This commit is contained in:
Bart Schuurmans 2024-02-03 21:55:46 +01:00
parent 6b1ffbc634
commit 6c9ca0bf19
4 changed files with 49 additions and 1 deletions

View file

@ -0,0 +1,17 @@
{% extends 'search/layout.html' %}
{% block panel %}
{% if results %}
<ul class="block">
{% for author in results %}
<li class="">
<a href="{{ author.local_path }}" class="author" itemprop="author" itemscope itemtype="https://schema.org/Thing">
<span itemprop="name">{{ author.name }}</span>
</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}