mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-22 03:19:25 +00:00
fix(search): searchDataURL must not use relative URL
This commit is contained in:
parent
d5b75f4fb3
commit
0f50648e48
@ -5,7 +5,7 @@
|
||||
{{ $searchConfig := i18n "bookSearchConfig" | default "{}" }}
|
||||
|
||||
(function () {
|
||||
const searchDataURL = '{{ $searchData.RelPermalink }}';
|
||||
const searchDataURL = '{{ $searchData.Permalink }}';
|
||||
const indexConfig = Object.assign({{ $searchConfig }}, {
|
||||
doc: {
|
||||
id: 'id',
|
||||
|
Loading…
Reference in New Issue
Block a user