2020-12-15 10:59:52 +01:00
|
|
|
baseurl: https://example.com
|
|
|
|
languageCode: en-us
|
|
|
|
theme: hugo-theme-stack
|
|
|
|
paginate: 5
|
|
|
|
title: Example Site
|
|
|
|
|
|
|
|
# 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:
|
|
|
|
|
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:
|
|
|
|
owner:
|
|
|
|
admin:
|
|
|
|
repo:
|
|
|
|
clientID:
|
|
|
|
clientSecret:
|
2021-10-01 16:38:37 +02:00
|
|
|
|
|
|
|
cusdis:
|
|
|
|
host:
|
|
|
|
id:
|
2021-09-18 10:03:08 +02:00
|
|
|
|
2020-12-15 10:59:52 +01:00
|
|
|
widgets:
|
|
|
|
enabled:
|
|
|
|
- search
|
|
|
|
- archives
|
|
|
|
- tag-cloud
|
|
|
|
|
|
|
|
archives:
|
|
|
|
limit: 5
|
|
|
|
|
|
|
|
tagCloud:
|
|
|
|
limit: 10
|
|
|
|
|
|
|
|
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
|
2021-10-23 11:58:55 +02:00
|
|
|
|
|
|
|
social:
|
|
|
|
- identifier: github
|
|
|
|
name: GitHub
|
|
|
|
url: https://github.com/CaiJimmy/hugo-theme-stack
|
|
|
|
params:
|
|
|
|
icon: brand-github
|
|
|
|
|
|
|
|
- identifier: twitter
|
|
|
|
name: Twitter
|
|
|
|
url: https://twitter.com
|
|
|
|
params:
|
|
|
|
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
|