Fix location of syntax highlight params in config

+ Move pygmentsStyle and pygmentsCodefences out of [params] in
config.toml
+ This fixes issue of syntax highlighting not working
This commit is contained in:
Vicky 2018-06-12 12:20:42 -04:00
parent 6580118347
commit 97cdc2aaea

View file

@ -2,6 +2,8 @@ baseURL = "https://example.org/" # Your domain name.
languageCode = "en-us" # languageCode
title = "Introduction" # Site title
theme = "introduction"
pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html
pygmentsCodefences = true
enforce_ssl = false
# disqusshortname = "" # Enable Disqus for comments https://gohugo.io/content-management/comments
# googleAnalytics = "" # Enable Google Analytics https://gohugo.io/templates/internal/#google-analytics
@ -21,8 +23,6 @@ enforce_ssl = false
cacheBuster = false # Add the current unix timestamp in query string for cache busting css assets (relevant in development mode)
description = "Website Description" # Max 160 characters show in search results
faviconFile = "img/fav.ico"
pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html
pygmentsCodefences = true
footerText = "" # Text to show in footer (overrides default text)
fadeIn = true # Turn on/off the fade-in effect
customCSS = [] # Include custom css files e.g. ["css/foo.css", "css/bar.css"]