diff options
author | Alan Pearce | 2024-05-08 00:15:52 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-08 00:16:03 +0200 |
commit | 973345ad50f9b237714fcb364cf7f665b3909f9d (patch) | |
tree | 15225430bd5895b5140df0e301b0e6c3fb5758a8 /frontend/templates/blocks/search.gotmpl | |
parent | f459e84ecf7307fe2eeb7fbaa5b0c50613ec04f4 (diff) | |
download | searchix-973345ad50f9b237714fcb364cf7f665b3909f9d.tar.lz searchix-973345ad50f9b237714fcb364cf7f665b3909f9d.tar.zst searchix-973345ad50f9b237714fcb364cf7f665b3909f9d.zip |
feat: paginate search results
Diffstat (limited to 'frontend/templates/blocks/search.gotmpl')
-rw-r--r-- | frontend/templates/blocks/search.gotmpl | 2 |
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 }} |