From 85bb81f5d5f074035b011c29fbacdc67d460d255 Mon Sep 17 00:00:00 2001 From: Sergio Vera Date: Fri, 8 Mar 2024 19:14:28 +0100 Subject: [PATCH] Give more space between search results message and actual results --- internal/webserver/embedded/views/results.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/internal/webserver/embedded/views/results.html b/internal/webserver/embedded/views/results.html index 7379e782..43814094 100644 --- a/internal/webserver/embedded/views/results.html +++ b/internal/webserver/embedded/views/results.html @@ -1,9 +1,12 @@
- {{template "partials/searchbox" .}} {{if gt .Results.TotalHits 0}} -

{{t .Lang "%d matches found" .Results.TotalHits }}

- {{else}} -

{{t .Lang "No matches found" }}

- {{end}} + {{template "partials/searchbox" .}} +

+ {{if gt .Results.TotalHits 0}} + {{t .Lang "%d matches found" .Results.TotalHits }} + {{else}} + {{t .Lang "No matches found" }} + {{end}} +

{{ template "partials/docs-list" . }}