{%- if pagename != "search" %}
<div id="searchbox" style="display: none">
    <h3>{{ _('Quick search') }}</h3>
    <form class="form-search margin-top-1em" action="{{ pathto('search') }}" method="get">
        <label for="searchbox">Search box</label>
        <input id="searchbox" type="search" name="q" style="width: 105px" class="input-small search-query" autocomplete="off" />
        <button type="submit" class="btn btn-small">Search</button>
        <input type="hidden" name="check_keywords" value="yes" />
        <input type="hidden" name="area" value="default" />
    </form>
</div>
<script src="{{ pathto('_static/searchbox.js', 1) }}"></script>
{%- endif %}
