From 77101032aa61cad251fbe02476aa6d1e0df24d74 Mon Sep 17 00:00:00 2001 From: olOwOlo <26087907+olOwOlo@users.noreply.github.com> Date: Tue, 10 Jul 2018 00:49:20 +0800 Subject: feat(highlight): add support for chroma BREAKING CHANGE: You need add params to enable `chroma` or `highlight.js` since they are disabled by default. --- layouts/partials/scripts.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'layouts') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index fb6285b..a89ad89 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -1,5 +1,9 @@ - - + +{{- if .Site.Params.highlightInClient -}} + +{{- end -}} + + {{- if .Site.Params.publicCDN.enable }} {{ .Site.Params.publicCDN.jquery | safeHTML }} {{ .Site.Params.publicCDN.slideout | safeHTML }} -- cgit v1.2.3