This repository has been archived by the owner on Mar 26, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Use duckduckgo (#187) - Add search box to main page
- Loading branch information
1 parent
d3a7ac1
commit 428ded6
Showing
3 changed files
with
43 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- | ||
Sources: | ||
https://duckduckgo.com/search_box | ||
https://muffinresearch.co.uk/adding-a-duckduckgo-search-box-to-your-blog/ | ||
--> | ||
|
||
<div class="row"> | ||
<div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2"> | ||
<form name="search" action="//duckduckgo.com/"> | ||
<div class="form-group"> | ||
<div class="input-group"> | ||
<input type="search" class="form-control" placeholder="DuckDuckGo" name="q"> | ||
<input type="hidden" value="swiftweekly.github.io" name="sites"> | ||
<input type="hidden" value="1" name="kh"> | ||
<input type="hidden" value="1" name="kn"> | ||
<input type="hidden" value="1" name="kac"> | ||
<input type="hidden" value="1" name="kc"> | ||
<span class="input-group-btn"><button class="btn btn-default" type="submit"> | ||
<i class="fa fa-search" aria-hidden="true"></i></button> | ||
</span> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters