diff options
author | Vicky <vicky@vickylai.com> | 2018-06-12 19:20:42 +0300 |
---|---|---|
committer | Vicky <vicky@vickylai.com> | 2018-06-12 19:27:38 +0300 |
commit | 97cdc2aaeaf0d705c011f5fc78241512288ed604 (patch) | |
tree | 40ef090532aeba4278920dc5ff5160f9e32b6d41 | |
parent | 6580118347705e8786ef8344a6c24c8b89f8ce1e (diff) |
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
-rw-r--r-- | exampleSite/config.toml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 81174bf..16f0738 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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"] |