mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +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) }}"
|
<input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s ↵" .Title) }}"
|
||||||
aria-label="search" type="search" autocomplete="off">
|
aria-label="search" type="search" autocomplete="off">
|
||||||
<ul id="searchResults" aria-label="search results"></ul>
|
<ul id="searchResults" aria-label="search results"></ul>
|
||||||
|
<noscript>
|
||||||
|
<style>
|
||||||
|
#searchInput {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Enable JavaScript to use the search function.
|
||||||
|
</noscript>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{- end }}{{/* end main */}}
|
{{- end }}{{/* end main */}}
|
||||||
|
Loading…
Reference in New Issue
Block a user