Hugo-theme-stack/exampleSite/config.toml

66 lines
1.5 KiB
TOML
Raw Normal View History

2020-08-22 07:25:07 -04:00
baseurl = "https://example.com/"
languageCode = "en-us"
theme = "hugo-theme-stack"
paginate = 5
2020-08-24 15:27:32 -04:00
title = "Example Site"
2020-08-22 07:25:07 -04:00
2020-08-24 15:27:32 -04:00
[permalinks]
post = "/p/:slug/"
page = "/:slug/"
2020-08-22 07:25:07 -04:00
[params]
mainSections = ["post"]
2020-08-23 05:32:53 -04:00
favicon = ""
2020-09-06 06:56:44 -04:00
[params.sidebar]
emoji = "🍥"
avatar = "img/avatar.png"
subtitle = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
[params.article]
[params.article.license]
enabled = true
default = "Licenced under CC BY-NC-SA 4.0"
2020-08-22 07:25:07 -04:00
[params.widgets]
enabled = ['archive', 'tag-cloud']
[params.widgets.archive]
limit = 5
### Archive page relative URL
path = "archive"
2020-08-22 07:25:07 -04:00
[params.widgets.tagCloud]
limit = 10
[params.opengraph]
2020-08-24 15:27:32 -04:00
defaultImage = ""
[params.opengraph.twitter]
2020-08-24 15:27:32 -04:00
site = ""
2020-08-22 07:25:07 -04:00
[menu]
[[menu.main]]
identifier = "home"
2020-08-24 15:27:32 -04:00
name = "Home"
2020-08-22 07:25:07 -04:00
url = "/"
weight = -100
pre = "home"
[[menu.main]]
identifier = "about-cn"
2020-08-24 15:27:32 -04:00
name = "About"
2020-08-22 07:25:07 -04:00
url = "/about/"
weight = -90
pre = "user"
[[menu.main]]
identifier = "archive"
2020-08-24 15:27:32 -04:00
name = "Archive"
2020-08-22 07:25:07 -04:00
url = "/archive/"
weight = -70
pre = "archive"
[related]
includeNewer = true
threshold = 60
toLower = false
[[related.indices]]
name = "tags"
weight = 100
[[related.indices]]
name = "categories"
weight = 200