diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b1470a357..1b1665150 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -52,8 +52,8 @@ {{ define "algolia/head" -}} {{ if and .Site.Params.search (isset .Site.Params.search "algolia") -}} - {{ end -}} diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index a9b2d32c4..1ca9aedd2 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -36,23 +36,23 @@ {{ if $needKaTeX -}} {{/* load stylesheet and scripts for KaTeX support */ -}} - + {{/* The loading of KaTeX is deferred to speed up page rendering */ -}} - {{ if $needmhchem -}} {{/* To add support for displaying chemical equations and physical units, load the mhchem extension: */ -}} - {{ end -}} {{/* To automatically render math in text elements, include the auto-render extension: */ -}} - {{ end -}} @@ -104,8 +104,8 @@ {{ partial "hooks/body-end.html" . -}} {{ define "algolia/scripts" -}} -