Files
slump-x-land-studio/templates/search.html
T

3 lines
627 B
HTML

{% extends 'base.html' %}{% block title %}Search · SLUMP X LAND{% endblock %}
{% block content %}<main class="section"><p class="kicker">Find it in the archive</p><h1>Search</h1><form method="get" class="fan-toolbar"><label for="slx-q">Search the site</label><input id="slx-q" name="q" value="{{ query }}" maxlength="100" placeholder="Title, chapter number, or topic"><button class="fan-button">Search</button></form>{% if query %}<h2>Chapters</h2>{% include 'chapter-cards.html' with empty_text="No matching chapters." %}<h2>Blog, cast &amp; world archive</h2>{% include 'entry-cards.html' %}{% endif %}</main>{% endblock %}