Skip to content

Commit

Permalink
Add missing assetVer hash to search button in site template.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Nov 12, 2023
1 parent 0397215 commit 8fd28ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ <h3 class="intro">
<div>
<input autofocus autocomplete="off" required placeholder=""
type="text" id="q" name="q" value="{{ if .Data.Query }}{{ .Data.Query.Query }}{{ end }}" />
<button type="submit"><img src="{{ .Consts.RootURL }}/static/search.svg" alt="{{- .L.T "public.btnSearch" -}}" /></button>
<button type="submit"><img src="{{ .Consts.RootURL }}/static/search.svg?v={{ .AssetVer }}" alt="{{- .L.T "public.btnSearch" -}}" /></button>
</div>
</form>
</div>
Expand Down

0 comments on commit 8fd28ab

Please sign in to comment.