diff options
author | bnewbold <bnewbold@robocracy.org> | 2014-12-30 04:40:22 +0100 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2014-12-30 04:40:22 +0100 |
commit | 11259190aca775d9864022d8dd9fbb58e43f167c (patch) | |
tree | 5b99eb17e7e954189988d1cf32a5b68fa0cbf7cc /_better_theme/searchbox.html | |
parent | 240e479f888f04530865d4b1b67f6d61c5729dd9 (diff) | |
download | novena-guide-11259190aca775d9864022d8dd9fbb58e43f167c.tar.gz novena-guide-11259190aca775d9864022d8dd9fbb58e43f167c.zip |
initial sphinx skeleton
Diffstat (limited to '_better_theme/searchbox.html')
-rw-r--r-- | _better_theme/searchbox.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/_better_theme/searchbox.html b/_better_theme/searchbox.html new file mode 100644 index 0000000..f761ce8 --- /dev/null +++ b/_better_theme/searchbox.html @@ -0,0 +1,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 %} |