feat(search): use duckduckgo lite/no-js

This commit is contained in:
curben 2020-01-18 05:32:52 +00:00
parent 10d9ebd6b3
commit 159960da02
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<% } %>
<div class="searchContainer">
<form id="searchForm" method="post" action="https://duckduckgo.com/" target="_blank" rel="noopener external nofollow noreferrer">
<form id="searchForm" method="post" action="https://duckduckgo.com/lite" target="_blank" rel="noopener external nofollow noreferrer">
<input type="text" name="q" class="searchBox" id="searchTxt" placeholder="Search..." title="Powered by DuckDuckGo">
<input type="hidden" name="sites" value="<%- config.url.replace(/^http(s)?:\/\//, '') %>">
<input type="hidden" name="kd" value="-1">
@ -30,7 +30,7 @@
<input id="mobile-menu-toggle" type="checkbox"/>
<ul class="mobile-nav-link">
<div class="searchContainer">
<form id="searchFormMob" method="post" action="https://duckduckgo.com/" target="_blank" rel="noopener external nofollow noreferrer">
<form id="searchFormMob" method="post" action="https://duckduckgo.com/lite" target="_blank" rel="noopener external nofollow noreferrer">
<input type="text" name="q" class="searchBox" id="searchTxtMob" placeholder="Search..." title="Powered by DuckDuckGo">
<input type="hidden" name="sites" value="<%- config.url.replace(/^http(s)?:\/\//, '') %>">
<input type="hidden" name="kd" value="-1">