mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-01 23:38:27 -04:00
improve search
- fix menu element becoming inactive change class active -> focus - set input type seach #198 - add a reset func - add script to clear searchbox when clicked on X sign
This commit is contained in:
parent
7170eda172
commit
e03348c041
3 changed files with 27 additions and 18 deletions
|
@ -21,8 +21,8 @@
|
|||
</header>
|
||||
|
||||
<div id="searchbox">
|
||||
<input id="searchInput" autofocus placeholder="{{.Title}} ↵" aria-label="search">
|
||||
<input id="searchInput" autofocus placeholder="{{.Title}} ↵" aria-label="search" type="search">
|
||||
<ul id="searchResults" aria-label="search results"></ul>
|
||||
</div>
|
||||
|
||||
{{- end }}{{/* end main */}}
|
||||
{{- end }}{{/* end main */}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue