Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/htr3n/hyde-hyde.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhtr3n <hoang.huy.tran@gmail.com>2020-06-05 08:50:51 +0300
committerhtr3n <hoang.huy.tran@gmail.com>2020-06-05 08:50:51 +0300
commitd0b58642c2f0e84519256db9c4d815d901cc370f (patch)
tree2ae4fb3066db48ecc6c532ccca5a90f0516d08c9
parent7570de8eb403cf2c9d8248bce35bd340b4c2dc6c (diff)
Fixed gohugoio/hugoThemes#858
-rw-r--r--layouts/partials/highlight-js.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/highlight-js.html b/layouts/partials/highlight-js.html
index 450bb88..e20528b 100644
--- a/layouts/partials/highlight-js.html
+++ b/layouts/partials/highlight-js.html
@@ -1,5 +1,5 @@
{{- if (.Site.Params.highlightjs) -}}
-{{ if or (not (isset .Params "highlight")) (and (isset .Params "highlight") .Params.highlight) }}
+{{ if (or (not (isset .Params "highlight")) (and (isset .Params "highlight") .Params.highlight)) }}
{{ $.Scratch.Set "hl_languages" (union (.Site.Params.highlightjslanguages) (.Params.highlightjslanguages)) }}
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js"></script>
{{ with $.Scratch.Get "hl_languages" }}