Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kongdivin/hugo-theme-okayish-blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorress <48500247+ress997@users.noreply.github.com>2020-07-13 20:31:27 +0300
committerRess <git@x39.dev>2020-07-14 07:04:27 +0300
commit7746b751121ac1c9b8ce09bb32a6b74b367dfccd (patch)
treee1ce083b64664f36f81215cb308a0f7ef1874452
parent3642b09ffb526055f7eb97de357b1d08818d844c (diff)
Use $.Site.BaseURL for sitesearch
-rw-r--r--layouts/partials/search-google.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/search-google.html b/layouts/partials/search-google.html
index 2cbff7f..e4f6e50 100644
--- a/layouts/partials/search-google.html
+++ b/layouts/partials/search-google.html
@@ -1,11 +1,11 @@
<form class="p-search-box" action="https://www.google.com/search" target="_blank">
<input type="search" class="p-search-box__input" name="q" placeholder='{{ i18n "search" | default "Search" }}'
required="" aria-label="Query">
- <input type="hidden" name="sitesearch" value="{{ $.Site.Home.Permalink }}">
+ <input type="hidden" name="sitesearch" value="{{ $.Site.BaseURL }}">
<button type="reset" class="p-search-box__reset" alt="reset" aria-label="Reset">
<i class="p-icon--close"></i>
</button>
<button type="submit" class="p-search-box__button" alt="search" aria-label="Search">
<i class="p-icon--search"></i>
</button>
-</form> \ No newline at end of file
+</form>