
Moved the hugo.toml configuration from the root directory to config/_default/ to better organize project structure. Updated the markup.toml and params.toml files with additional comments for clarity.
69 lines
1.6 KiB
TOML
69 lines
1.6 KiB
TOML
# boolean type, the global switch for TOC in posts.
|
||
toc = true
|
||
# the avatar on sidebar, should be a relative path to /assets.
|
||
avatar = "img/commons/avatar.jpg"
|
||
author = "yifan"
|
||
|
||
[assets]
|
||
# Self-hosted static assets, default to false. If true, the assets will be hosted on your own server.
|
||
self_host = false
|
||
|
||
[social]
|
||
name = "Yifan"
|
||
url = "https://github.com/geekifan"
|
||
|
||
[[social.links]]
|
||
type = "github"
|
||
id = "yourusername"
|
||
icon = "fab fa-github"
|
||
|
||
[[social.links]]
|
||
type = "twitter"
|
||
id = "yourhandle"
|
||
icon = "fab fa-twitter"
|
||
|
||
[[social.links]]
|
||
type = "email"
|
||
id = "your.email@example.com"
|
||
icon = "fas fa-envelope"
|
||
|
||
[[social.links]]
|
||
type = "rss"
|
||
icon = "fas fa-rss"
|
||
noblank = true # will not open in new window
|
||
|
||
[comments]
|
||
# Global switch for the post-comment system. [true | false]
|
||
enable = false
|
||
# The provider options are as follows: [disqus | utterances | giscus]
|
||
provider = ""
|
||
|
||
# Disqus options
|
||
[comments.disqus]
|
||
# fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
|
||
shortname = ""
|
||
|
||
# utterances settings › https://utteranc.es/
|
||
[comments.utterances]
|
||
# <gh-username>/<repo>
|
||
repo = ""
|
||
# < url | pathname | title | ...>
|
||
issue_term = ""
|
||
|
||
# Giscus options › https://giscus.app
|
||
[comments.giscus]
|
||
# <gh-username>/<repo>
|
||
repo = ""
|
||
repo_id = ""
|
||
category = ""
|
||
category_id = ""
|
||
# optional, default to 'pathname'
|
||
mapping = ""
|
||
# optional, default to '0'
|
||
strict = ""
|
||
# optional, default to 'bottom'
|
||
input_position = ""
|
||
# optional, default to site language
|
||
lang = ""
|
||
# optional, default to the value of `1`
|
||
reactions_enabled = "" |