{%- 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>document.getElementById('searchbox').style.display = "block";</script>
{%- endif %}
