hugo-theme-stack/exampleSite/config.toml

65 lines
1.4 KiB
TOML
Raw Normal View History

2020-08-22 13:25:07 +02:00
baseurl = "https://example.com/"
languageCode = "en-us"
theme = "hugo-theme-stack"
paginate = 5
[params]
postSection = "post"
emoji = "🍥"
avatar = "img/avatar.jpg"
subtitle = "和世界分享刚编的破事"
postLicense = "Licenced under CC BY-NC-SA 4.0"
2020-08-23 11:32:53 +02:00
favicon = ""
2020-08-22 13:25:07 +02:00
[params.widgets]
enabled = ['archive', 'tag-cloud']
[params.widgets.tagCloud]
limit = 10
[params.opengraph]
defaultImage = "img/logo.png"
[params.opengraph.twitter]
site = "0xJimmy"
2020-08-22 13:25:07 +02:00
[menu]
[[menu.main]]
identifier = "home"
name = "首页"
url = "/"
weight = -100
pre = "home"
[[menu.main]]
identifier = "about-cn"
name = "关于"
url = "/about/"
weight = -90
pre = "user"
[[menu.main]]
identifier = "links"
name = "邻居"
url = "/links/"
weight = -80
pre = "link"
[[menu.main]]
identifier = "archive"
name = "归档"
url = "/archive/"
weight = -70
pre = "archive"
[[menu.main]]
identifier = "guestbook"
name = "留言板"
url = "/guestbook/"
weight = -60
pre = "messages"
[related]
includeNewer = true
threshold = 60
toLower = false
[[related.indices]]
name = "tags"
weight = 100
[[related.indices]]
name = "categories"
weight = 200