diff options
Diffstat (limited to 'layouts/partials/navigation.html')
-rw-r--r-- | layouts/partials/navigation.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/layouts/partials/navigation.html b/layouts/partials/navigation.html index 45831c5..9f9860d 100644 --- a/layouts/partials/navigation.html +++ b/layouts/partials/navigation.html @@ -1,6 +1,6 @@ <!-- mobile navigation --> <fieldset class="mobile-nav"> - <!-- Apart from Disqus, this is the only place where we need JavaScript. --> + <!-- apart from Disqus and analytics, this is the only place where we need JavaScript --> <select onchange="location = this.value;"> <option value="">Navigate…</option> {{ range .Site.Menus.main }} @@ -29,14 +29,13 @@ <li><a href="/index.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li> {{ end }} {{ end }} - </ul> {{ with .Site.Params.searchEngineURL }} -<form action="{{ . }}" method="get" target="_blank"> - <fieldset role="search"> - <input class="search" type="text" name="q" results="0" placeholder="Search"/> - <input type="hidden" name="q" value="site:{{ "/" | absURL }}" /> - </fieldset> -</form> + <form action="{{ . }}" method="get" target="_blank"> + <fieldset role="search"> + <input class="search" type="text" name="q" results="0" placeholder="Search"/> + <input type="hidden" name="q" value="site:{{ "/" | absURL }}" /> + </fieldset> + </form> {{end}} |