62 lines
1.4 KiB
TOML
62 lines
1.4 KiB
TOML
baseurl = "https://example.com/"
|
|
languageCode = "en-us"
|
|
theme = "hugo-theme-stack"
|
|
paginate = 5
|
|
title = "Example Site"
|
|
|
|
[permalinks]
|
|
post = "/p/:slug/"
|
|
page = "/:slug/"
|
|
|
|
[params]
|
|
postSection = "post"
|
|
favicon = ""
|
|
[params.sidebar]
|
|
emoji = "🍥"
|
|
avatar = "img/avatar.png"
|
|
subtitle = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
[params.article]
|
|
defaultLicense = "Licenced under CC BY-NC-SA 4.0"
|
|
[params.widgets]
|
|
enabled = ['archive', 'tag-cloud']
|
|
[params.widgets.archive]
|
|
limit = 5
|
|
[params.widgets.tagCloud]
|
|
limit = 10
|
|
[params.opengraph]
|
|
defaultImage = ""
|
|
[params.opengraph.twitter]
|
|
site = ""
|
|
|
|
[menu]
|
|
[[menu.main]]
|
|
identifier = "home"
|
|
name = "Home"
|
|
url = "/"
|
|
weight = -100
|
|
pre = "home"
|
|
[[menu.main]]
|
|
identifier = "about-cn"
|
|
name = "About"
|
|
url = "/about/"
|
|
weight = -90
|
|
pre = "user"
|
|
[[menu.main]]
|
|
identifier = "archive"
|
|
name = "Archive"
|
|
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 |