mirror of https://gitlab.com/curben/blog
fix(search): use config.url instead of hardcoded url
This commit is contained in:
parent
78397dad37
commit
8bfbe48148
|
@ -8,7 +8,7 @@
|
|||
<div class="searchContainer">
|
||||
<form id="searchForm" method="post" action="https://duckduckgo.com/" 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="curben.netlify.com">
|
||||
<input type="hidden" name="sites" value="<%- config.url.replace(/^http(s)?:\/\//, '') %>">
|
||||
<input type="hidden" name="kd" value="-1">
|
||||
<input type="hidden" name="kg" value="p">
|
||||
<input type="hidden" name="kae" value="#000">
|
||||
|
@ -31,7 +31,7 @@
|
|||
<div class="searchContainer">
|
||||
<form id="searchFormMob" method="post" action="https://duckduckgo.com/" 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="curben.netlify.com">
|
||||
<input type="hidden" name="sites" value="<%- config.url.replace(/^http(s)?:\/\//, '') %>">
|
||||
<input type="hidden" name="kd" value="-1">
|
||||
<input type="hidden" name="kg" value="p">
|
||||
<input type="hidden" name="kae" value="#000">
|
||||
|
|
Loading…
Reference in New Issue