From 68f096fa4c69a72cde18eb07a716ff76c0900bea Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 13 Jan 2020 19:42:16 +0100 Subject: Remove use of Scratch in search configuration --- layouts/partials/docs/html-head.html | 1 - 1 file changed, 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index b280ef9..0e6d06e 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -11,7 +11,6 @@ {{ if default true .Site.Params.BookSearch }} -{{- .Scratch.Set "bookSearchConfig" (i18n "bookSearchConfig") -}} {{- $searchJSFile := printf "%s.search.js" .Language.Lang -}} {{- $searchJS := resources.Get "search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify | resources.Fingerprint }} -- cgit v1.2.3