{% extends "root.html" %}
{% block content %}
<div class="space-y-4 text-left">
<h1 class="text-3xl font-bold">Search</h1>
<form method="get" action="/search" class="join w-full max-w-xl">
<input name="q" value="{{ q }}" placeholder="Search topics, posts, tags…"
class="input input-bordered join-item w-full" autofocus/>
<button class="btn btn-primary join-item" type="submit">Search</button>
</form>
{% if q %}
{% if topics|length == 0 %}
<p class="opacity-70">No results for “{{ q }}”.</p>
{% else %}
<p class="opacity-70 text-sm">Results for “{{ q }}”:</p>
{% include "forum/_topic_list.html" %}
{% endif %}
{% endif %}
</div>
{% endblock %}
neiam
/recourse
public · Issues · Pulls · Labels · Forks · Compare · Actions queued · Badges · Packages
⭐
Log in to mark this repository.
732 B · text
History
b1da290