From 19b07d146518a0d20c9e722520289e7a1dcf3203 Mon Sep 17 00:00:00 2001 From: Brice Dutheil Date: Mon, 17 Oct 2022 16:18:54 +0200 Subject: [PATCH] Bump highlight js to 11.6.0 --- layouts/partials/head/styles-highlight.html | 4 ++-- layouts/partials/highlight-js.html | 4 ++-- layouts/partials/page-single/comment/giscus.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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 }}