diff options
author | Salim B <salim@posteo.de> | 2019-12-03 12:00:52 +0300 |
---|---|---|
committer | Guillermo Guerrero Ibarra <wolf.fox1985@gmail.com> | 2019-12-03 12:00:52 +0300 |
commit | e6d8c2be7cd613647d320dffa9b043b90784c084 (patch) | |
tree | 0ba6568c040b67c75f4d59d6a9396241c00c2f24 | |
parent | 553edb0459b575b396d037729a3168194147568f (diff) |
replace site variable by absURL function (#248)
-rw-r--r-- | layouts/partials/widgets/search.html | 2 |
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> |