diff options
Diffstat (limited to 'docs/_templates/layout.html')
| -rw-r--r-- | docs/_templates/layout.html | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 5c45e7f6..41f0809d 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -71,8 +71,23 @@ </div> <div id="sidebar"> {#- This is manually unrolled from the original layout #} + <div id="searchbox" role="search"> + <h3>Quick search</h3> + <div class="searchformwrapper"> + <form class="search" action="search.html" method="get"> + <input type="text" name="q" /> + <button type="submit"> + <i class="fas fa-search"></i> + </button> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> + </div> + </div> + <script type="text/javascript"> + $("#searchbox").show(0); + </script> {%- include "localtoc.html" %} - {%- include "searchbox.html" %} </div> </aside> {#- The actual body of the contents #} |