diff options
author | bnewbold <bnewbold@robocracy.org> | 2014-12-30 03:42:27 +0100 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2014-12-30 03:42:27 +0100 |
commit | 7131d99df20e1c2546452124ee52a95fa3ace97b (patch) | |
tree | 2f5448956c49fccec186c85204e0f5bb6af9905e /_better_theme/searchbox.html | |
parent | f567b9c01512162fa0d9c03719bcfb95068cbe76 (diff) | |
download | fpga-lube-7131d99df20e1c2546452124ee52a95fa3ace97b.tar.gz fpga-lube-7131d99df20e1c2546452124ee52a95fa3ace97b.zip |
'better' theme
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 %} |