Skip to content

Commit

Permalink
Give more space between search results message and actual results
Browse files Browse the repository at this point in the history
  • Loading branch information
svera committed Mar 8, 2024
1 parent b0ae2bb commit 85bb81f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions internal/webserver/embedded/views/results.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<div class="container">
{{template "partials/searchbox" .}} {{if gt .Results.TotalHits 0}}
<p class="text-center">{{t .Lang "%d matches found" .Results.TotalHits }}</p>
{{else}}
<p class="text-center">{{t .Lang "No matches found" }}</p>
{{end}}
{{template "partials/searchbox" .}}
<p class="text-center mb-5">
{{if gt .Results.TotalHits 0}}
{{t .Lang "%d matches found" .Results.TotalHits }}
{{else}}
{{t .Lang "No matches found" }}
{{end}}
</p>

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

Expand Down

0 comments on commit 85bb81f

Please sign in to comment.