From f1e47e24c390ee0e507301bc2e770df5ec55628d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 17 Feb 2020 20:52:28 +0200 Subject: [PATCH] scripts.html: don't load docsearch JS when it's not needed (#30205) --- site/layouts/partials/scripts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/layouts/partials/scripts.html b/site/layouts/partials/scripts.html index a0295741c6..e458d47e2d 100644 --- a/site/layouts/partials/scripts.html +++ b/site/layouts/partials/scripts.html @@ -4,7 +4,7 @@ {{- end }} -{{ if (or (eq .Page.Layout "docs") (eq .Page.Layout "single")) -}} +{{ if eq .Page.Layout "docs" -}} {{- end }} -- 2.47.2