mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-22 17:15:07 +01:00
ask to enable js for search
This commit is contained in:
parent
67efb771bf
commit
4f5eea2395
@ -24,6 +24,14 @@
|
||||
<input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s ↵" .Title) }}"
|
||||
aria-label="search" type="search" autocomplete="off">
|
||||
<ul id="searchResults" aria-label="search results"></ul>
|
||||
<noscript>
|
||||
<style>
|
||||
#searchInput {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
Enable JavaScript to use the search function.
|
||||
</noscript>
|
||||
</div>
|
||||
|
||||
{{- end }}{{/* end main */}}
|
||||
|
Loading…
Reference in New Issue
Block a user