2020-12-15 10:59:52 +01:00
baseurl : https://example.com
languageCode : en-us
theme : hugo-theme-stack
paginate : 5
title : Example Site
2022-02-27 09:48:57 +01:00
languages :
en :
languageName : English
title : Example Site
weight : 1
cn :
languageName : 中文
title : 演示站点
weight : 2
2020-12-15 10:59:52 +01:00
# Change it to your Disqus shortname before using
disqusShortname : hugo-theme-stack
2021-02-11 18:56:39 +01:00
# GA Tracking ID
googleAnalytics :
2020-12-15 10:59:52 +01:00
# Theme i18n support
2021-10-30 21:22:08 +02:00
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, zh-tw, es, de, nl, it, th, el, uk
2020-12-15 10:59:52 +01:00
DefaultContentLanguage : en
2021-09-24 20:22:58 +02: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 10:59:52 +01:00
permalinks :
post : /p/:slug/
page : /:slug/
params :
mainSections :
- post
featuredImageField : image
rssFullContent : true
2020-12-20 11:38:49 +01:00
favicon :
2020-12-15 10:59:52 +01:00
2020-12-20 12:34:44 +01:00
footer :
since : 2020
customText :
2020-12-15 10:59:52 +01: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 10:56:52 +02:00
enabled : true
2020-12-15 10:59:52 +01:00
local : true
src : img/avatar.png
article :
math : false
2021-06-21 18:44:54 +02:00
toc : true
2021-08-04 20:49:21 +02:00
readingTime : true
2020-12-15 10:59:52 +01:00
license :
enabled : true
default : Licensed under CC BY-NC-SA 4.0
comments :
enabled : true
provider : disqus
2021-02-13 11:10:24 +01:00
2021-08-15 19:19:51 +02:00
disqusjs :
shortname :
apiUrl :
apiKey :
admin :
adminLabel :
2020-12-15 10:59:52 +01:00
utterances :
repo :
issueTerm : pathname
label :
2021-02-13 11:10:24 +01:00
remark42 :
host :
site :
locale :
2021-04-26 18:27:44 +02:00
vssue :
platform :
owner :
repo :
clientId :
clientSecret :
2021-07-07 13:18:05 +02:00
autoCreateIssue : false
2021-04-26 18:27:44 +02:00
2021-06-14 21:05:27 +02:00
# Waline client configuration see: https://waline.js.org/en/reference/client.html
waline :
serverURL :
lang :
visitor :
avatar :
emoji :
- https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
requiredMeta :
- name
- email
- url
placeholder :
locale :
admin : Admin
2021-08-04 20:49:21 +02:00
twikoo :
envId :
region :
path :
lang :
2022-01-23 13:10:00 +01: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-06 20:32:37 +01:00
2021-08-15 12:03:59 +02:00
giscus :
repo :
repoID :
category :
categoryID :
mapping :
lightTheme :
darkTheme :
reactionsEnabled : 1
emitMetadata : 0
2021-09-18 10:03:08 +02:00
gitalk :
2022-02-06 20:32:37 +01:00
owner :
admin :
repo :
clientID :
clientSecret :
2021-10-01 16:38:37 +02:00
cusdis :
2022-02-06 20:32:37 +01:00
host :
id :
2020-12-15 10:59:52 +01:00
widgets :
2022-02-26 23:45:25 +01:00
homepage :
- type : search
- type : archives
params :
limit : 5
- type : tag-cloud
params :
limit : 10
page :
- type : toc
2020-12-15 10:59:52 +01:00
opengraph :
twitter :
2020-12-20 11:05:34 +01:00
# Your Twitter username
2020-12-15 10:59:52 +01:00
site :
2020-12-20 11:05:34 +01:00
# Available values: summary, summary_large_image
2020-12-15 10:59:52 +01:00
card : summary_large_image
defaultImage :
opengraph :
enabled : false
local : false
src :
2020-12-23 19:03:40 +01:00
colorScheme :
# Display toggle
toggle : true
2021-01-01 13:16:11 +01:00
2020-12-23 19:03:40 +01:00
# Available values: auto, light, dark
default : auto
2020-12-23 21:02:35 +01:00
imageProcessing :
cover :
enabled : true
content :
enabled : true
2021-03-07 13:02:39 +01:00
### Custom menu
2021-08-24 12:16:27 +02:00
### See https://docs.stack.jimmycai.com/configuration/custom-menu.html
2021-03-07 13:02:39 +01:00
### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter
2020-12-15 10:59:52 +01:00
menu :
main :
- identifier : home
name : Home
url : /
weight : -100
2021-08-08 17:39:33 +02:00
params :
2021-08-15 12:03:59 +02:00
### For demonstration purpose, the home link will be open in a new tab
newTab : true
2021-10-23 09:18:44 +02:00
icon : home
2022-02-06 20:32:37 +01:00
2021-10-23 11:58:55 +02:00
social :
- identifier : github
name : GitHub
url : https://github.com/CaiJimmy/hugo-theme-stack
params :
2022-02-06 20:32:37 +01:00
icon : brand-github
2021-10-23 11:58:55 +02:00
- identifier : twitter
name : Twitter
url : https://twitter.com
params :
2022-02-06 20:32:37 +01:00
icon : brand-twitter
2020-12-15 10:59:52 +01:00
related :
includeNewer : true
threshold : 60
toLower : false
indices :
- name : tags
weight : 100
- name : categories
weight : 200
markup :
2021-09-03 19:05:10 +02:00
goldmark :
renderer :
## Set to true if you have HTML content inside Markdown
unsafe : false
2021-06-21 18:44:54 +02:00
tableOfContents :
endLevel : 4
ordered : true
startLevel : 2
2020-12-15 10:59:52 +01:00
highlight :
noClasses : false
2022-02-06 20:32:37 +01:00
codeFences : true
guessSyntax : true
lineNoStart : 1
lineNos : true
lineNumbersInTable : true
tabWidth : 4