aboutsummaryrefslogtreecommitdiffstats
path: root/docs/_better_theme/searchbox.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2014-12-30 03:43:30 +0100
committerbnewbold <bnewbold@robocracy.org>2014-12-30 03:43:30 +0100
commit2a16ea2a9075229b2141c62697f4e1cabd4d2edd (patch)
tree65e184d0698eefd587b29c0644c2089ab9cdcfa9 /docs/_better_theme/searchbox.html
parent7131d99df20e1c2546452124ee52a95fa3ace97b (diff)
downloadfpga-lube-2a16ea2a9075229b2141c62697f4e1cabd4d2edd.tar.gz
fpga-lube-2a16ea2a9075229b2141c62697f4e1cabd4d2edd.zip
move stuff into 'docs' subfolder
Diffstat (limited to 'docs/_better_theme/searchbox.html')
-rw-r--r--docs/_better_theme/searchbox.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/_better_theme/searchbox.html b/docs/_better_theme/searchbox.html
new file mode 100644
index 0000000..f761ce8
--- /dev/null
+++ b/docs/_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 %}