Browse code

Merge pull request #319 from tgray/searchtoggle

Search box can be toggled off.

Brandon Mathis authored on 11/12/2011 at 23:03:31
Showing 1 changed files
... ...
@@ -4,10 +4,12 @@
4 4
     <li><a href="{{ site.subscribe_email }}" rel="subscribe-email" title="subscribe via email">Email</a></li>
5 5
   {% endif %}
6 6
 </ul>
7
+  {% if site.simple_search %}
7 8
 <form action="{{ site.simple_search }}" method="get">
8 9
   <fieldset role="search">
9 10
     <input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}" />
10 11
     <input class="search" type="text" name="q" results="0" placeholder="Search"/>
11 12
   </fieldset>
12 13
 </form>
14
+  {% endif %}
13 15
 {% include custom/navigation.html %}