mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 14:59:45 +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
|
||||
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"]
|
||||
|
|
Loading…
Reference in a new issue