fix: trailing slash for search

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
jolheiser 2023-02-16 12:39:57 -06:00
parent 7fb4df522b
commit e1449c207a
No known key found for this signature in database
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
</a>
{{ if eq .Site.Params.search "nav" }}
<!-- this works together with assets/js/search.js from the docs.gitea.io -->
<form action="{{ "search" | absLangURL }}">
<form action="{{ "search" | absLangURL }}/">
<input id="search-query" name="s" placeholder="Search" />
</form>
{{ end }}