about summary refs log tree commit diff stats
path: root/frontend/templates/blocks/search.gotmpl
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/templates/blocks/search.gotmpl')
-rw-r--r--frontend/templates/blocks/search.gotmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/templates/blocks/search.gotmpl b/frontend/templates/blocks/search.gotmpl
index a4f0ee5..0be63c1 100644
--- a/frontend/templates/blocks/search.gotmpl
+++ b/frontend/templates/blocks/search.gotmpl
@@ -9,7 +9,7 @@
       <button>Search</button>
     </fieldset>
   </form>
-  {{- with .Results }}
+  {{- if .Results }}
     {{ block "results" . }}{{ end }}
   {{- end }}
 {{- end }}