From b3980e9d83f210ffde5f4bfb08f21ef6c9c7d882 Mon Sep 17 00:00:00 2001 From: Andy Huynh Date: Fri, 2 Sep 2016 12:52:22 -0700 Subject: [PATCH] ALH: Update example config file to include highlight js --- exampleSite/config.toml | 1 + layouts/partials/footer_scripts.html | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 5931ebb..465cd5d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -25,6 +25,7 @@ Email = "you@example.space" FaviconFile = "img/leaf.ico" GATracker = "XYZ" GitHub = "//github.com/you" +HighlightJS = true Initials = "ad" # Displayed on single post page; DEPRECATED in v0.3.0. Lang = "en" LinkedIn = "//linkedin.com/in/you" diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html index 11df0ad..a2140c0 100644 --- a/layouts/partials/footer_scripts.html +++ b/layouts/partials/footer_scripts.html @@ -13,9 +13,9 @@ try { {{ end }} {{ if .Site.Params.HighlightJS }} - + - + {{ end }}