Hugo-theme-stack/exampleSite/config.toml

88 lines
2.3 KiB
TOML
Raw Normal View History

baseurl = "https://example.com"
2020-08-22 07:25:07 -04:00
languageCode = "en-us"
theme = "hugo-theme-stack"
paginate = 5
2020-08-24 15:27:32 -04:00
title = "Example Site"
disqusShortname = "hugo-theme-stack" # Change it to your Disqus shortname before using
2020-09-09 11:17:09 -04:00
DefaultContentLanguage = "en" # Theme i18n support
[permalinks]
post = "/p/:slug/"
page = "/:slug/"
2020-08-24 15:27:32 -04:00
2020-08-22 07:25:07 -04:00
[params]
mainSections = ["post"]
featuredImageField = "image"
[params.dateFormat]
published = "Jan 02, 2006"
lastUpdated = "Jan 02, 2006 15:04 MST"
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"
[params.comments]
enabled = true
# Only Disqus is available so far
provider = "disqus"
2020-08-22 07:25:07 -04:00
[params.widgets]
2020-09-13 05:22:47 -04:00
enabled = ['archives', 'tag-cloud']
[params.widgets.archives]
limit = 5
2020-09-13 05:22:47 -04:00
### Archives page relative URL
path = "archives"
2020-08-22 07:25:07 -04:00
[params.widgets.tagCloud]
limit = 10
[params.opengraph]
[params.opengraph.twitter]
2020-08-24 15:27:32 -04:00
site = ""
card = "summary_large_image"
[params.defaultImage]
[params.defaultImage.article]
enabled = false
local = false
src = ""
[params.defaultImage.articleList]
enabled = false
local = true
src = ""
[params.defaultImage.opengraph]
enabled = false
local = false
src = ""
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"
url = "about"
2020-08-22 07:25:07 -04:00
weight = -90
pre = "user"
[[menu.main]]
identifier = "archives"
name = "Archives"
url = "archives"
2020-08-22 07:25:07 -04:00
weight = -70
pre = "archives"
2020-08-22 07:25:07 -04:00
[related]
includeNewer = true
threshold = 60
toLower = false
[[related.indices]]
name = "tags"
weight = 100
[[related.indices]]
name = "categories"
weight = 200