From: XhmikosR Date: Mon, 17 Feb 2020 18:52:28 +0000 (+0200) Subject: scripts.html: don't load docsearch JS when it's not needed (#30205) X-Git-Tag: v5.0.0-alpha1~431 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1e47e24c390ee0e507301bc2e770df5ec55628d;p=thirdparty%2Fbootstrap.git scripts.html: don't load docsearch JS when it's not needed (#30205) --- 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 }}