mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 19:07:46 +08:00
theme: fix even more broken id renaming #646
This commit is contained in:
parent
df554691ce
commit
e6da7becae
@ -7,7 +7,7 @@
|
||||
|
||||
<form action="javascript:triggerSearch()">
|
||||
<div class="searchform">
|
||||
<label class="a11y-only" for="R-section-by-detail">{{ T "Search" }}</label>
|
||||
<label class="a11y-only" for="R-search-by-detail">{{ T "Search" }}</label>
|
||||
<input data-search-input id="R-search-by-detail" class="search-by" name="search-by" type="search" placeholder="{{ T "Search-placeholder" }}">
|
||||
{{- partial "shortcodes/button.html" (dict
|
||||
"page" $page
|
||||
|
@ -6,7 +6,7 @@
|
||||
{{- end }}
|
||||
{{- $c:="" }} {{ if $link }}<form action="{{ $link }}" method="get">{{ end }}<div class="searchbox default-animation">
|
||||
{{ if $link }}<button class="search-detail" type="submit" title="{{ T "Search" }} (CTRL+ALT+f)">{{ end }}<i class="fas fa-search"{{ if not $link }} title="{{ T "Search" }} (CTRL+ALT+f)"{{ end }}></i>{{ if $link }}</button>{{ end }}
|
||||
<label class="a11y-only" for="R-section-">{{ T "Search" }}</label>
|
||||
<label class="a11y-only" for="R-search-by">{{ T "Search" }}</label>
|
||||
<input data-search-input id="R-search-by" name="search-by" class="search-by" type="search" placeholder="{{ T "Search-placeholder" }}">
|
||||
<button class="search-clear" type="button" data-search-clear="" title="{{ T "Clear-search" }}"><i class="fas fa-times" title="{{ T "Clear-search" }}"></i></button>
|
||||
</div>{{ if $link }}</form>{{ end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user