2019-07-08 00:45:46 +08:00
|
|
|
{#
|
|
|
|
basic/searchbox.html with heading removed.
|
|
|
|
#}
|
|
|
|
{%- if pagename != "search" and builder != "singlehtml" %}
|
|
|
|
<div id="searchbox" style="display: none" role="search">
|
|
|
|
<div class="searchformwrapper">
|
|
|
|
<form class="search" action="{{ pathto('search') }}" method="get">
|
2024-02-18 18:21:05 +08:00
|
|
|
<input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
|
2019-07-08 00:45:46 +08:00
|
|
|
<input type="submit" value="{{ _('Go') }}" />
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-18 18:21:05 +08:00
|
|
|
<script>document.getElementById('searchbox').style.display = "block"</script>
|
2019-07-08 00:45:46 +08:00
|
|
|
{%- endif %}
|