Skip to content

Commit

Permalink
Switch to DDG for Search
Browse files Browse the repository at this point in the history
  • Loading branch information
bcl committed Dec 22, 2018
1 parent 3dadd93 commit 7f3ea06
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions layouts/partials/widgets/search.html
@@ -1,9 +1,3 @@
<div class="widget-search widget">
<form class="widget-search__form" role="search" method="get" action="https://google.com/search">
<label>
<input class="widget-search__field" type="search" placeholder="{{ T "search_placeholder" }}" value="" name="q" aria-label="{{ T "search_placeholder" }}">
</label>
<input class="widget-search__submit" type="submit" value="Search">
<input type="hidden" name="sitesearch" value="{{ .Site.BaseURL }}" />
</form>
</div>
<iframe class="widget-search__input" src="https://duckduckgo.com/search.html?ks=s&kd=1&kh=1&site={{ .Site.BaseURL }}&prefill=Search DuckDuckGo" style="margin:0;padding:0;" frameborder="0"></iframe>
</div>

0 comments on commit 7f3ea06

Please sign in to comment.