Skip to content

Commit

Permalink
Fix missing title attribute from search button
Browse files Browse the repository at this point in the history
This was caused by an extra space before an enquoted identifier,
causing the i18n lookup to fail.
  • Loading branch information
MilesPernicious committed Jan 2, 2023
1 parent 8da083a commit 9c3326f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layouts/partials/header/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

{{ if .Site.Params.enableSearch | default false }}
<button id="search-button" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
title="{{ i18n " search.open_button_title" }}">
title="{{ i18n "search.open_button_title" }}">
{{ partial "icon.html" "search" }}
</button>
{{ end }}
Expand Down Expand Up @@ -68,7 +68,7 @@

{{ if .Site.Params.enableSearch | default false }}
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
title="{{ i18n " search.open_button_title" }}">
title="{{ i18n "search.open_button_title" }}">
{{ partial "icon.html" "search" }}
</button>
{{ end }}
Expand Down Expand Up @@ -121,4 +121,4 @@
</div>
</label>
</div>
</div>
</div>

0 comments on commit 9c3326f

Please sign in to comment.