2020-09-13 04:51:31 -04:00
|
|
|
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"
|
2020-09-08 17:42:23 -04:00
|
|
|
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
|
2020-09-08 17:53:16 -04:00
|
|
|
|
|
|
|
[permalinks]
|
|
|
|
post = "/p/:slug/"
|
|
|
|
page = "/:slug/"
|
2020-08-24 15:27:32 -04:00
|
|
|
|
2020-08-22 07:25:07 -04:00
|
|
|
[params]
|
2020-09-06 07:15:38 -04:00
|
|
|
mainSections = ["post"]
|
2020-09-11 11:54:16 -04:00
|
|
|
featuredImageField = "image"
|
2020-09-23 16:32:20 -04:00
|
|
|
rssFullContent = true
|
2020-10-05 02:56:03 -04:00
|
|
|
|
2020-09-09 11:35:22 -04:00
|
|
|
[params.dateFormat]
|
|
|
|
published = "Jan 02, 2006"
|
|
|
|
lastUpdated = "Jan 02, 2006 15:04 MST"
|
2020-10-05 02:56:03 -04:00
|
|
|
|
2020-09-06 06:56:44 -04:00
|
|
|
[params.sidebar]
|
|
|
|
emoji = "🍥"
|
|
|
|
avatar = "img/avatar.png"
|
|
|
|
subtitle = "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
2020-10-05 02:56:03 -04:00
|
|
|
|
2020-09-06 06:56:44 -04:00
|
|
|
[params.article]
|
2020-09-21 10:22:44 -04:00
|
|
|
math = false
|
2020-09-06 07:58:21 -04:00
|
|
|
[params.article.license]
|
|
|
|
enabled = true
|
2020-10-03 16:24:28 -04:00
|
|
|
default = "Licensed under CC BY-NC-SA 4.0"
|
2020-10-05 02:56:03 -04:00
|
|
|
|
2020-09-08 17:30:15 -04:00
|
|
|
[params.comments]
|
|
|
|
enabled = true
|
2020-10-04 10:23:08 -04:00
|
|
|
provider = "disqus" # Available: disqus, utterances
|
|
|
|
[params.comments.utterances]
|
|
|
|
repo = ""
|
|
|
|
issueTerm = "pathname"
|
|
|
|
label = "" # Optional
|
2020-10-05 02:56:03 -04:00
|
|
|
theme = "preferred-color-scheme"
|
|
|
|
|
2020-08-22 07:25:07 -04:00
|
|
|
[params.widgets]
|
2020-09-26 06:06:56 -04:00
|
|
|
enabled = ['search', 'archives', 'tag-cloud']
|
2020-09-13 05:22:47 -04:00
|
|
|
[params.widgets.archives]
|
2020-08-25 06:39:03 -04:00
|
|
|
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
|
2020-10-05 02:56:03 -04:00
|
|
|
|
2020-08-23 05:30:10 -04:00
|
|
|
[params.opengraph]
|
|
|
|
[params.opengraph.twitter]
|
2020-08-24 15:27:32 -04:00
|
|
|
site = ""
|
2020-09-11 15:55:15 -04:00
|
|
|
card = "summary_large_image"
|
2020-10-05 02:56:03 -04:00
|
|
|
|
2020-09-11 10:27:23 -04:00
|
|
|
[params.defaultImage]
|
|
|
|
[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"
|
2020-09-13 08:03:41 -04:00
|
|
|
url = "about"
|
2020-08-22 07:25:07 -04:00
|
|
|
weight = -90
|
|
|
|
pre = "user"
|
|
|
|
[[menu.main]]
|
2020-09-13 05:26:12 -04:00
|
|
|
identifier = "archives"
|
|
|
|
name = "Archives"
|
2020-09-13 08:03:41 -04:00
|
|
|
url = "archives"
|
2020-08-22 07:25:07 -04:00
|
|
|
weight = -70
|
2020-09-13 05:26:12 -04:00
|
|
|
pre = "archives"
|
2020-09-26 06:06:56 -04:00
|
|
|
[[menu.main]]
|
|
|
|
identifier = "search"
|
|
|
|
name = "Search"
|
|
|
|
url = "search"
|
|
|
|
weight = -60
|
|
|
|
pre = "search"
|
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"
|
2020-09-17 13:48:21 -04:00
|
|
|
weight = 200
|
|
|
|
|
|
|
|
[markup]
|
|
|
|
[markup.highlight]
|
2020-10-03 16:24:28 -04:00
|
|
|
noClasses = false
|