mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-14 00:59:43 +00:00
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:
parent
6580118347
commit
97cdc2aaea
1 changed files with 2 additions and 2 deletions
|
@ -2,6 +2,8 @@ baseURL = "https://example.org/" # Your domain name.
|
||||||
languageCode = "en-us" # languageCode
|
languageCode = "en-us" # languageCode
|
||||||
title = "Introduction" # Site title
|
title = "Introduction" # Site title
|
||||||
theme = "introduction"
|
theme = "introduction"
|
||||||
|
pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html
|
||||||
|
pygmentsCodefences = true
|
||||||
enforce_ssl = false
|
enforce_ssl = false
|
||||||
# disqusshortname = "" # Enable Disqus for comments https://gohugo.io/content-management/comments
|
# disqusshortname = "" # Enable Disqus for comments https://gohugo.io/content-management/comments
|
||||||
# googleAnalytics = "" # Enable Google Analytics https://gohugo.io/templates/internal/#google-analytics
|
# 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)
|
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
|
description = "Website Description" # Max 160 characters show in search results
|
||||||
faviconFile = "img/fav.ico"
|
faviconFile = "img/fav.ico"
|
||||||
pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html
|
|
||||||
pygmentsCodefences = true
|
|
||||||
footerText = "" # Text to show in footer (overrides default text)
|
footerText = "" # Text to show in footer (overrides default text)
|
||||||
fadeIn = true # Turn on/off the fade-in effect
|
fadeIn = true # Turn on/off the fade-in effect
|
||||||
customCSS = [] # Include custom css files e.g. ["css/foo.css", "css/bar.css"]
|
customCSS = [] # Include custom css files e.g. ["css/foo.css", "css/bar.css"]
|
||||||
|
|
Loading…
Reference in a new issue