mirror of
https://github.com/PeridexisErrant/DF-Walkthrough.git
synced 2026-02-20 14:04:07 +01:00
Simplify config, improve sidebar
This commit is contained in:
parent
c486ee3a0b
commit
bd1d8ce719
6 changed files with 40 additions and 292 deletions
12
misc/_templates/searchbox.html
Normal file
12
misc/_templates/searchbox.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{%- if pagename != "search" and builder != "singlehtml" %}
|
||||
<div id="searchbox" style="display: none" role="search">
|
||||
<h3>Quick search</h3>
|
||||
<form class="search" action="{{ pathto('search') }}" method="get">
|
||||
<input type="text" name="q" />
|
||||
<input type="submit" value="{{ _('Go') }}" />
|
||||
<input type="hidden" name="check_keywords" value="yes" />
|
||||
<input type="hidden" name="area" value="default" />
|
||||
</form>
|
||||
</div>
|
||||
<script type="text/javascript">$('#searchbox').show(0);</script>
|
||||
{%- endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue