diff --git a/layouts/partials/highlight-js.html b/layouts/partials/highlight-js.html index 450bb88..e20528b 100644 --- a/layouts/partials/highlight-js.html +++ b/layouts/partials/highlight-js.html @@ -1,5 +1,5 @@ {{- if (.Site.Params.highlightjs) -}} -{{ if or (not (isset .Params "highlight")) (and (isset .Params "highlight") .Params.highlight) }} +{{ if (or (not (isset .Params "highlight")) (and (isset .Params "highlight") .Params.highlight)) }} {{ $.Scratch.Set "hl_languages" (union (.Site.Params.highlightjslanguages) (.Params.highlightjslanguages)) }} {{ with $.Scratch.Get "hl_languages" }}