aboutsummaryrefslogtreecommitdiff
path: root/templates/web
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web')
-rw-r--r--templates/web/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base.html b/templates/web/base.html
index ecf8f06..018d66a 100644
--- a/templates/web/base.html
+++ b/templates/web/base.html
@@ -112,7 +112,7 @@
</header>
{% block content %}{% endblock %}
<footer>
- <form method="get" action="{{ url_for('search') }}"><input name="q" placeholder="cerca..." value="{{ q }}"></form>
+ <form method="get" action="{{ url_for('search') }}"><input name="q" placeholder="cerca..." value="{% if q %}{{ q }}{% endif %}"></form>
</footer>
<footer>
<small>