File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ {#
2+ searchbox.html
3+ ~~~~~~~~~~~~~~~~~~~~
4+
5+ Replaces basic/searchbox.html because vue.js does not like < script > without the type attribute
6+ #}
7+ { % - if pagename != "search" and builder != "singlehtml" % }
8+ < div id = "searchbox" style = "display: none" role = "search" >
9+ < h3 id = "searchlabel" > { { _ ( 'Quick search' ) } } </ h3 >
10+ < div class = "searchformwrapper" >
11+ < form class = "search" action = "{{ pathto('search') }}" method = "get" >
12+ < input type = "text" name = "q" aria-labelledby = "searchlabel" autocomplete = "off" autocorrect = "off" autocapitalize = "off" spellcheck = "false" />
13+ < input type = "submit" value = "{{ _('Go') }}" />
14+ </ form >
15+ </ div >
16+ </ div >
17+ < script type = "application/javascript" > $ ( '#searchbox' ) . show ( 0 ) ; </ script >
18+ {%- endif %}
You can’t perform that action at this time.
0 commit comments