Do not set set value when query wasn't provided

This commit is contained in:
tcely authored and GitHub committed 2025-07-18 12:26:48 -04:00
1 parent 25f5af466a
commit ed91a2bc2c
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@
<label for="query">
<span class="no-text-transform">Search for:</span>
</label>
<input name="query" type="text" placeholder="A key or title containing this text" value="{{ query }}" />
<input name="query" type="text" placeholder="A key or title containing this text"{% if query %} value="{{ query }}"{% endif %} />
</div>
<div class="col m2" style="height: 100%; margin-top: 4%;">
<input value="Go" type="submit" />