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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalim B <salim@posteo.de>2019-12-03 12:00:52 +0300
committerGuillermo Guerrero Ibarra <wolf.fox1985@gmail.com>2019-12-03 12:00:52 +0300
commite6d8c2be7cd613647d320dffa9b043b90784c084 (patch)
tree0ba6568c040b67c75f4d59d6a9396241c00c2f24
parent553edb0459b575b396d037729a3168194147568f (diff)
replace site variable by absURL function (#248)
-rw-r--r--layouts/partials/widgets/search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/widgets/search.html b/layouts/partials/widgets/search.html
index 6717708..9a4fde1 100644
--- a/layouts/partials/widgets/search.html
+++ b/layouts/partials/widgets/search.html
@@ -10,7 +10,7 @@
<form action="//google.com/search" method="get" accept-charset="UTF-8" role="search">
<div class="input-group">
<input type="search" name="q" class="form-control" placeholder="{{ i18n "searchTitle" }}">
- <input type="hidden" name="sitesearch" value="{{ .Site.BaseURL }}">
+ <input type="hidden" name="sitesearch" value="{{ "/" | absURL }}">
<span class="input-group-btn">
<button type="submit" class="btn btn-template-main"><i class="fas fa-search"></i></button>
</span>