Permalink
Browse files

Fixed search on blog (#109)

  • Loading branch information...
Ludobaka authored and ryanfox1985 committed Nov 6, 2017
1 parent 7f290f3 commit d1038665ae3b05a051fb8a90e22f270fa75ae45f
Showing with 2 additions and 2 deletions.
  1. +2 −2 layouts/partials/widgets/search.html
@@ -9,8 +9,8 @@ <h3 class="panel-title">{{ i18n "searchTitle" }}</h3>
<div class="panel-body">
<form action="//google.com/search" method="get" accept-charset="UTF-8" role="search">
<div class="input-group">
<input type="search" name="q" results="0" class="form-control" placeholder="{{ i18n "searchTitle" }}">
<input type="hidden" name="q" value="site:{{ .Site.BaseURL }}">
<input type="search" name="q" class="form-control" placeholder="{{ i18n "searchTitle" }}">
<input type="hidden" name="sitesearch" value="{{ .Site.BaseURL }}">
<span class="input-group-btn">
<button type="submit" class="btn btn-template-main"><i class="fa fa-search"></i></button>
</span>

0 comments on commit d103866

Please sign in to comment.