Browse Source

Merge pull request #319 from tgray/searchtoggle

Search box can be toggled off.
unreleased_contents
Brandon Mathis 13 years ago
parent
commit
b51071372b
  1. 2
      .themes/classic/source/_includes/navigation.html

2
.themes/classic/source/_includes/navigation.html

@ -4,10 +4,12 @@
<li><a href="{{ site.subscribe_email }}" rel="subscribe-email" title="subscribe via email">Email</a></li> <li><a href="{{ site.subscribe_email }}" rel="subscribe-email" title="subscribe via email">Email</a></li>
{% endif %} {% endif %}
</ul> </ul>
{% if site.simple_search %}
<form action="{{ site.simple_search }}" method="get"> <form action="{{ site.simple_search }}" method="get">
<fieldset role="search"> <fieldset role="search">
<input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}" /> <input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/> <input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset> </fieldset>
</form> </form>
{% endif %}
{% include custom/navigation.html %} {% include custom/navigation.html %}

Loading…
Cancel
Save