From 1b0897ea6b1f1981582ae515283630a389c1dcb1 Mon Sep 17 00:00:00 2001 From: Andy Huynh Date: Fri, 2 Sep 2016 12:46:22 -0700 Subject: [PATCH] ALH: Add highlight js for syntax highlighting --- layouts/partials/footer_scripts.html | 8 ++++++++ layouts/partials/head_includes.html | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html index 2864a41..11df0ad 100644 --- a/layouts/partials/footer_scripts.html +++ b/layouts/partials/footer_scripts.html @@ -11,3 +11,11 @@ try { } catch(err) {} {{ end }} + +{{ if .Site.Params.HighlightJS }} + + + +{{ end }} diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html index b53e4cb..5200989 100644 --- a/layouts/partials/head_includes.html +++ b/layouts/partials/head_includes.html @@ -10,6 +10,11 @@ +{{ if .Site.Params.HighlightJS }} + +{{ end }} + + {{ if eq true .Site.Params.CacheBuster }}