aboutsummaryrefslogtreecommitdiff
path: root/templates/web/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/index.html')
-rw-r--r--templates/web/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/index.html b/templates/web/index.html
index eb3567a..e6f66ee 100644
--- a/templates/web/index.html
+++ b/templates/web/index.html
@@ -5,7 +5,7 @@
{% block content %}
<header>
<h1><a href="{{ url_for('index') }}">{{ settings.name }}</a></h1>
- <aside><form method="get" action="{{ url_for('search') }}"><input name="q" value="{{ q }}"><input type="submit" value="Search"></form></aside>
+ <aside><form method="get" action="{{ url_for('search') }}"><input name="q" value="{{ q if q }}"><input type="submit" value="Search"></form></aside>
</header>
<ul>
{% for entry in entries %}