diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0cf808c..61266bc 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -28,6 +28,7 @@ faviconfile = "img/leaf.ico" gatracker = "XYZ" github = "//github.com/you" highlightjs = true +# highlightjslanguages = ["go"] # additional languages not included in the "common" set 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 3d5b926..946b568 100644 --- a/layouts/partials/footer_scripts.html +++ b/layouts/partials/footer_scripts.html @@ -13,7 +13,10 @@ try { {{ end }} {{ if .Site.Params.highlightjs }} - + + {{ range .Site.Params.highlightjslanguages }} + + {{ end }}