mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
Use correct input type for search
This doesn't change functionality but could aid with accessibility and is more semantically correct.
This commit is contained in:
parent
1d2d7f97a6
commit
3ea5860c3e
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<div class="searchbox">
|
<div class="searchbox">
|
||||||
<label for="search-by"><i class="fas fa-search"></i></label>
|
<label for="search-by"><i class="fas fa-search"></i></label>
|
||||||
<input data-search-input id="search-by" type="text" placeholder="{{T "Search-placeholder"}}">
|
<input data-search-input id="search-by" type="search" placeholder="{{T "Search-placeholder"}}">
|
||||||
<span data-search-clear=""><i class="fas fa-close"></i></span>
|
<span data-search-clear=""><i class="fas fa-close"></i></span>
|
||||||
</div>
|
</div>
|
||||||
{{ $assetBusting := not .Site.Params.disableAssetsBusting }}
|
{{ $assetBusting := not .Site.Params.disableAssetsBusting }}
|
||||||
|
|
Loading…
Reference in a new issue