aboutsummaryrefslogtreecommitdiffstats
path: root/docs/_better_theme/searchbox.html
blob: f761ce8782becd8106037c4334a6e3b526f54ac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
{%- if pagename != "search" %}
<form class="search" action="{{ pathto('search') }}" method="get">
  <input type="text" name="q"
   placeholder="{{ _('type to search') }}" />
  {#- I have not been able to make this look good. #}
  {#- <input type="submit" value="{{ _('Search') }}" /> #}
  <input type="hidden" name="check_keywords" value="yes" />
  <input type="hidden" name="area" value="default" />
</form>
<script type="text/javascript">$('#searchbox').show(0);</script>
{%- endif %}