aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-12-11 15:03:31 -0800
committerBrandon Mathis <brandon@imathis.com>2011-12-11 15:03:31 -0800
commitb51071372b3851a22159cb8913d3337c5b2552e0 (patch)
tree6c71a9ae820867955c02dac93241002c25d61e1a /.themes/classic
parent4e0fec0e0f1eec88ffe4297c396976beecb01af4 (diff)
parent2c1ec7434b3a5066d81f694d60e1d60c600e1012 (diff)
downloadmy_new_personal_website-b51071372b3851a22159cb8913d3337c5b2552e0.tar.xz
my_new_personal_website-b51071372b3851a22159cb8913d3337c5b2552e0.zip
Merge pull request #319 from tgray/searchtoggle
Search box can be toggled off.
Diffstat (limited to '')
-rw-r--r--.themes/classic/source/_includes/navigation.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/.themes/classic/source/_includes/navigation.html b/.themes/classic/source/_includes/navigation.html
index 9b87017a..2f0e6280 100644
--- a/.themes/classic/source/_includes/navigation.html
+++ b/.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>
{% endif %}
</ul>
+ {% if site.simple_search %}
<form action="{{ site.simple_search }}" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
+ {% endif %}
{% include custom/navigation.html %}