Fixed gohugoio/hugoThemes#858
This commit is contained in:
parent
7570de8eb4
commit
d0b58642c2
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{- if (.Site.Params.highlightjs) -}}
|
{{- 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)) }}
|
{{ $.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>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js"></script>
|
||||||
{{ with $.Scratch.Get "hl_languages" }}
|
{{ with $.Scratch.Get "hl_languages" }}
|
||||||
|
|
Loading…
Reference in a new issue