From 83925df1efc115b3f12a53ee834863fd5881b0df Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 31 Jul 2022 00:05:43 +0200 Subject: Use HTML5 template to render search results --- layouts/shortcodes/form-search.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'layouts/shortcodes/form-search.html') diff --git a/layouts/shortcodes/form-search.html b/layouts/shortcodes/form-search.html index 9276030..bab117a 100644 --- a/layouts/shortcodes/form-search.html +++ b/layouts/shortcodes/form-search.html @@ -32,6 +32,15 @@
+ + {{- $isProduction := (or (eq (getenv "HUGO_ENV") "production") (eq site.Params.env "production")) -}} {{- /* Add lunr.js. */ -}} -- cgit v1.2.3