summaryrefslogtreecommitdiffstats
path: root/exampleSite/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml58
1 files changed, 32 insertions, 26 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 6241b27..72e22b7 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,5 +1,6 @@
baseURL = "https://example.com"
-title = "Fuji Demo"
+title = "Hugo Theme Fuji"
+
theme = "fuji"
hasCJKLanguage = true
enableEmoji = true
@@ -13,22 +14,31 @@ defaultContentLanguage = "en" # For HTML page, now support: en, zh-hans, zh-han
summaryLength = 100 # Custom cummary length, add <!--more--> in post file to custom split point
paginate = 10
-# googleAnalytics = "UA-000000000-0" # Set your Google Analytics UA here, or comment out to disable
+# googleAnalytics = "UA-000000000-0" # Set your Google Analytics UA here
[permalinks]
- post = "/:filename/" # Custom post links, e.g. "/:year/:month/:title/"
+ post = "/:section/:filename/" # Custom post links, e.g. "/:year/:month/:title/"
[params]
author = "DSRKafuU" # You can also set author in post front matter individually
- subTitle = "This is a Sub Title"
+ subTitle = "A minimal Hugo theme."
+
+ # Use CloudFlare Workers to accelerate the Google Analytics
+ # If you are using this please comment the googleAnalytics above
+ # Check https://github.com/SukkaW/cloudflare-workers-async-google-analytics for more details
+ # googleAnalyticsTid = "UA-000000000-0"
+ # googleAnalyticsRoute = "https://*.*.workers.dev/"
# Word counter and read time indicator in post metadata
showWordCounter = true
- # showReadTime = true
+ showReadTime = false
+ # License at the end of each post
+ showLicense = true
+ showToc = true
# Open Graph & Twitter Card variables
# You can also set description and images in post front matter individually
- description = "A minimal hugo theme powered by Primer CSS."
+ description = "A minimal Hugo theme with nice theme color."
images = ["img/og.png"] # This will use the image called og.png in static/img folder
# Posts shown in homepage
@@ -37,43 +47,39 @@ paginate = 10
# Bangumi image chart id
# bgmImageChart = "000000"
- # Show scroll to top button
- scrollTop = true
-
# License
- license = "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)"
+ license = "CC BY-NC-SA 4.0"
licenseLink = "http://creativecommons.org/licenses/by-nc-sa/4.0/"
# Comments
# utterances, see: https://utteranc.es/
- # utterancesRepo = "[ENTER REPO HERE]"
+ # utterancesRepo = "*/*"
# utterancesIssueTerm = "pathname"
- # utterancesTheme = "github-light"
# Disqus, see: https://disqus.com/admin/install/platforms/universalcode/
- # disqusComment = false
- # disqusShortname = "[ENTER YOUR DISQUS SHORTNAME HERE]"
+ # disqusShortname = "*********"
+ # Also use DisqusJS for accessing from Mainland China, see: https://github.com/SukkaW/DisqusJS
+ # If you want to set multiple api key, see theme's README for more details
+ # disqusJSApi = "https://*********/"
+ # disqusJSApikey = "**********"
# custom lazyload placeholder
# 16:9
- lazyPlaceholder = "/lazyload/dsrca_loading_480x270.svg"
+ lazyPlaceholder = "/assets/lazyload/dsrca_loading_480x270.svg"
# 32:9
- lazyPlaceholderRow = "/lazyload/dsrca_loading_960x270.svg"
+ lazyPlaceholderRow = "/assets/lazyload/dsrca_loading_960x270.svg"
# 8:9
- lazyPlaceholderCol = "/lazyload/dsrca_loading_480x540.svg"
-
- # enable this to fetch css & js from jsDelivr CDN
- useCDN = true
+ lazyPlaceholderCol = "/assets/lazyload/dsrca_loading_480x540.svg"
- # site global fixed mode aplayer
- # playerName = "..." # Audio title or name
- # playerArtist = "..." # Audio artist
- # playerURL = "..." # Audio URL, support aac, mp3, wav and ogg
- # playerCover = "..." # Audio cover
+ # Use Hugo Pipes in Hugo Extended Version to compile SCSS
+ # useHugoPipes = true
[markup]
+ [markup.goldmark]
+ [markup.goldmark.renderer]
+ unsafe = true # Enable user to embed HTML snippets in Markdown content
[markup.highlight]
- style = "monokailight"
+ codeFences = false # Disable Hugo's code highlighter
[markup.tableOfContents]
startLevel = 2