mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-07-18 04:21:55 +00:00
fix: var
This commit is contained in:
parent
3db607c3eb
commit
7d0d165606
@ -1,6 +1,6 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var dictionary = []; // Define a global variable for spell-check suggestions
|
const dictionary = []; // Define a global variable for spell-check suggestions
|
||||||
|
|
||||||
{{ $searchDataFile := printf "%s.search-data.json" .Language.Lang }}
|
{{ $searchDataFile := printf "%s.search-data.json" .Language.Lang }}
|
||||||
{{ $searchData := resources.Get "search-data.json" | resources.ExecuteAsTemplate $searchDataFile . | resources.Minify | resources.Fingerprint }}
|
{{ $searchData := resources.Get "search-data.json" | resources.ExecuteAsTemplate $searchDataFile . | resources.Minify | resources.Fingerprint }}
|
||||||
|
Loading…
Reference in New Issue
Block a user