{{ 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 }}
{{ $.Scratch.Delete "hl_languages" }}
{{ end }}