{{- if (.Site.Params.highlightjs) -}}
{{ 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" }}
{{ range . }}
{{ end }}
{{ end }}
{{ $.Scratch.Delete "hl_languages" }}
{{ end }}
{{- end -}}