diff --git a/layouts/partials/head/styles-highlight.html b/layouts/partials/head/styles-highlight.html
index 403c6af..752a1d9 100644
--- a/layouts/partials/head/styles-highlight.html
+++ b/layouts/partials/head/styles-highlight.html
@@ -1,10 +1,10 @@
{{- if .Site.Params.highlightjs -}}
{{- if or (not (isset .Params "highlight")) (.Params.highlight) -}}
-
+
{{- if isset .Site.Params "highlightjsdarkstyle" -}}
-
+
{{- end -}}
{{- end -}}
{{- end -}}
diff --git a/layouts/partials/highlight-js.html b/layouts/partials/highlight-js.html
index db936a6..5ac7a95 100644
--- a/layouts/partials/highlight-js.html
+++ b/layouts/partials/highlight-js.html
@@ -1,10 +1,10 @@
{{- 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 }}