diff --git a/layouts/partials/highlight-js.html b/layouts/partials/highlight-js.html index 51f808e..87c347d 100644 --- a/layouts/partials/highlight-js.html +++ b/layouts/partials/highlight-js.html @@ -1,10 +1,10 @@ {{ if or ((not (isset .Params "highlight")) and ((isset .Params "highlight") .Params.highlight)) }} {{ $.Scratch.Set "hl_languages" (union (.Site.Params.highlightjslanguages) (.Params.highlightjslanguages)) }} {{ if (.Site.Params.highlightjs) }} - + {{ with $.Scratch.Get "hl_languages" }} {{ range . }} - + {{ end }} {{ end }} {{ end }}