2020-12-15 17:59:52 +08:00
baseurl : https://example.com
languageCode : en-us
theme : hugo-theme-stack
paginate : 5
title : Example Site
2022-02-27 16:48:57 +08:00
languages :
en :
languageName : English
title : Example Site
weight : 1
2022-03-09 23:04:24 +08:00
zh-cn :
2022-02-27 16:48:57 +08:00
languageName : 中文
title : 演示站点
weight : 2
2022-03-04 07:25:34 +08:00
ar :
languageName : عربي
languagedirection : rtl
title : موقع تجريبي
weight : 3
2020-12-15 17:59:52 +08:00
# Change it to your Disqus shortname before using
disqusShortname : hugo-theme-stack
2021-02-12 01:56:39 +08:00
# GA Tracking ID
googleAnalytics :
2020-12-15 17:59:52 +08:00
# Theme i18n support
2022-06-10 02:48:24 +08:00
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
2020-12-15 17:59:52 +08:00
DefaultContentLanguage : en
2021-09-25 02:22:58 +08:00
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
# This will make .Summary and .WordCount behave correctly for CJK languages.
hasCJKLanguage : false
2020-12-15 17:59:52 +08:00
permalinks :
post : /p/:slug/
page : /:slug/
params :
mainSections :
- post
featuredImageField : image
rssFullContent : true
2020-12-20 18:38:49 +08:00
favicon :
2020-12-15 17:59:52 +08:00
2020-12-20 19:34:44 +08:00
footer :
since : 2020
customText :
2020-12-15 17:59:52 +08:00
dateFormat :
published : Jan 02, 2006
lastUpdated : Jan 02, 2006 15:04 MST
sidebar :
emoji : 🍥
subtitle : Lorem ipsum dolor sit amet, consectetur adipiscing elit.
avatar :
2021-07-23 16:56:52 +08:00
enabled : true
2020-12-15 17:59:52 +08:00
local : true
src : img/avatar.png
article :
math : false
2021-06-22 00:44:54 +08:00
toc : true
2021-08-05 02:49:21 +08:00
readingTime : true
2020-12-15 17:59:52 +08:00
license :
enabled : true
default : Licensed under CC BY-NC-SA 4.0
comments :
enabled : true
provider : disqus
2021-02-13 18:10:24 +08:00
2021-08-16 01:19:51 +08:00
disqusjs :
shortname :
apiUrl :
apiKey :
admin :
adminLabel :
2020-12-15 17:59:52 +08:00
utterances :
repo :
issueTerm : pathname
label :
2021-02-13 18:10:24 +08:00
remark42 :
host :
site :
locale :
2021-04-27 00:27:44 +08:00
vssue :
platform :
owner :
repo :
clientId :
clientSecret :
2021-07-07 19:18:05 +08:00
autoCreateIssue : false
2021-04-27 00:27:44 +08:00
2022-06-09 00:30:52 +08:00
# Waline client configuration see: https://waline.js.org/en/reference/component.html
2021-06-15 03:05:27 +08:00
waline :
serverURL :
lang :
2022-06-09 00:30:52 +08:00
pageview :
2021-06-15 03:05:27 +08:00
emoji :
2022-06-09 00:30:52 +08:00
- https://unpkg.com/@waline/emojis@1.0.1/weibo
2021-06-15 03:05:27 +08:00
requiredMeta :
- name
- email
- url
locale :
admin : Admin
2022-06-10 02:48:24 +08:00
placeholder :
2021-06-15 03:05:27 +08:00
2021-08-05 02:49:21 +08:00
twikoo :
envId :
region :
path :
lang :
2022-01-23 20:10:00 +08:00
# See https://cactus.chat/docs/reference/web-client/#configuration for description of the various options
cactus :
defaultHomeserverUrl : "https://matrix.cactus.chat:8448"
serverName : "cactus.chat"
siteName : "" # You must insert a unique identifier here matching the one you registered (See https://cactus.chat/docs/getting-started/quick-start/#register-your-site)
2022-02-07 03:32:37 +08:00
2021-08-15 18:03:59 +08:00
giscus :
repo :
repoID :
category :
categoryID :
mapping :
lightTheme :
darkTheme :
reactionsEnabled : 1
emitMetadata : 0
2021-09-18 16:03:08 +08:00
gitalk :
2022-02-07 03:32:37 +08:00
owner :
admin :
repo :
clientID :
clientSecret :
2021-10-01 22:38:37 +08:00
cusdis :
2022-02-07 03:32:37 +08:00
host :
id :
2020-12-15 17:59:52 +08:00
widgets :
2022-02-27 06:45:25 +08:00
homepage :
- type : search
- type : archives
params :
limit : 5
2022-03-04 06:48:26 +08:00
- type : categories
params :
limit : 10
2022-02-27 06:45:25 +08:00
- type : tag-cloud
params :
limit : 10
page :
- type : toc
2020-12-15 17:59:52 +08:00
opengraph :
twitter :
2020-12-20 18:05:34 +08:00
# Your Twitter username
2020-12-15 17:59:52 +08:00
site :
2020-12-20 18:05:34 +08:00
# Available values: summary, summary_large_image
2020-12-15 17:59:52 +08:00
card : summary_large_image
defaultImage :
opengraph :
enabled : false
local : false
src :
2020-12-24 02:03:40 +08:00
colorScheme :
# Display toggle
toggle : true
2021-01-01 20:16:11 +08:00
2020-12-24 02:03:40 +08:00
# Available values: auto, light, dark
default : auto
2020-12-24 04:02:35 +08:00
imageProcessing :
cover :
enabled : true
content :
enabled : true
2021-03-07 20:02:39 +08:00
### Custom menu
2021-08-24 18:16:27 +08:00
### See https://docs.stack.jimmycai.com/configuration/custom-menu.html
2021-03-07 20:02:39 +08:00
### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter
2020-12-15 17:59:52 +08:00
menu :
2022-03-04 16:47:51 +08:00
main : [ ]
2022-02-07 03:32:37 +08:00
2021-10-23 17:58:55 +08:00
social :
- identifier : github
name : GitHub
url : https://github.com/CaiJimmy/hugo-theme-stack
params :
2022-02-07 03:32:37 +08:00
icon : brand-github
2021-10-23 17:58:55 +08:00
- identifier : twitter
name : Twitter
url : https://twitter.com
params :
2022-02-07 03:32:37 +08:00
icon : brand-twitter
2020-12-15 17:59:52 +08:00
related :
includeNewer : true
threshold : 60
toLower : false
indices :
- name : tags
weight : 100
- name : categories
weight : 200
markup :
2021-09-04 01:05:10 +08:00
goldmark :
renderer :
## Set to true if you have HTML content inside Markdown
unsafe : false
2021-06-22 00:44:54 +08:00
tableOfContents :
endLevel : 4
ordered : true
startLevel : 2
2020-12-15 17:59:52 +08:00
highlight :
noClasses : false
2022-02-07 03:32:37 +08:00
codeFences : true
guessSyntax : true
lineNoStart : 1
lineNos : true
lineNumbersInTable : true
tabWidth : 4