aboutsummaryrefslogtreecommitdiff
path: root/templates/web
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2021-02-03 16:02:22 +0100
committerfabrixxm <fabrix.xm@gmail.com>2021-02-03 16:02:22 +0100
commitf9a2b7f0b65625c138a2620a7cbb10e53ea53a42 (patch)
tree823f3d41a8744ccd08a76a0f4c3a5514edc1a15a /templates/web
parent6a978f67a396cdd2b8c8006fa7a0841c29d17eb1 (diff)
Aggiorna template
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>