2020-12-15 04:59:52 -05: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 12:56:39 -05:00
|
|
|
# GA Tracking ID
|
|
|
|
googleAnalytics:
|
|
|
|
|
2020-12-15 04:59:52 -05:00
|
|
|
# Theme i18n support
|
2021-10-22 10:12:44 -04:00
|
|
|
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, es, de, nl, it, th, el
|
2020-12-15 04:59:52 -05:00
|
|
|
DefaultContentLanguage: en
|
|
|
|
|
2021-09-24 14:22:58 -04: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 04:59:52 -05:00
|
|
|
permalinks:
|
|
|
|
post: /p/:slug/
|
|
|
|
page: /:slug/
|
|
|
|
|
|
|
|
params:
|
|
|
|
mainSections:
|
|
|
|
- post
|
|
|
|
featuredImageField: image
|
|
|
|
rssFullContent: true
|
2020-12-20 05:38:49 -05:00
|
|
|
favicon:
|
2020-12-15 04:59:52 -05:00
|
|
|
|
2020-12-20 06:34:44 -05:00
|
|
|
footer:
|
|
|
|
since: 2020
|
|
|
|
customText:
|
|
|
|
|
2020-12-15 04:59:52 -05: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 04:56:52 -04:00
|
|
|
enabled: true
|
2020-12-15 04:59:52 -05:00
|
|
|
local: true
|
|
|
|
src: img/avatar.png
|
|
|
|
|
|
|
|
article:
|
|
|
|
math: false
|
2021-06-21 12:44:54 -04:00
|
|
|
toc: true
|
2021-08-04 14:49:21 -04:00
|
|
|
readingTime: true
|
2020-12-15 04:59:52 -05:00
|
|
|
license:
|
|
|
|
enabled: true
|
|
|
|
default: Licensed under CC BY-NC-SA 4.0
|
|
|
|
|
|
|
|
comments:
|
|
|
|
enabled: true
|
|
|
|
provider: disqus
|
2021-02-13 05:10:24 -05:00
|
|
|
|
2021-08-15 13:19:51 -04:00
|
|
|
disqusjs:
|
|
|
|
shortname:
|
|
|
|
apiUrl:
|
|
|
|
apiKey:
|
|
|
|
admin:
|
|
|
|
adminLabel:
|
|
|
|
|
2020-12-15 04:59:52 -05:00
|
|
|
utterances:
|
|
|
|
repo:
|
|
|
|
issueTerm: pathname
|
|
|
|
label:
|
|
|
|
|
2021-02-13 05:10:24 -05:00
|
|
|
remark42:
|
|
|
|
host:
|
|
|
|
site:
|
|
|
|
locale:
|
|
|
|
|
2021-04-26 12:27:44 -04:00
|
|
|
vssue:
|
|
|
|
platform:
|
|
|
|
owner:
|
|
|
|
repo:
|
|
|
|
clientId:
|
|
|
|
clientSecret:
|
2021-07-07 07:18:05 -04:00
|
|
|
autoCreateIssue: false
|
2021-04-26 12:27:44 -04:00
|
|
|
|
2021-06-14 15:05:27 -04: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 14:49:21 -04:00
|
|
|
twikoo:
|
|
|
|
envId:
|
|
|
|
region:
|
|
|
|
path:
|
|
|
|
lang:
|
|
|
|
|
2021-08-15 06:03:59 -04:00
|
|
|
giscus:
|
|
|
|
repo:
|
|
|
|
repoID:
|
|
|
|
category:
|
|
|
|
categoryID:
|
|
|
|
mapping:
|
|
|
|
lightTheme:
|
|
|
|
darkTheme:
|
|
|
|
reactionsEnabled: 1
|
|
|
|
emitMetadata: 0
|
|
|
|
|
2021-09-18 04:03:08 -04:00
|
|
|
gitalk:
|
|
|
|
owner:
|
|
|
|
admin:
|
|
|
|
repo:
|
|
|
|
clientID:
|
|
|
|
clientSecret:
|
2021-10-01 10:38:37 -04:00
|
|
|
|
|
|
|
cusdis:
|
|
|
|
host:
|
|
|
|
id:
|
2021-09-18 04:03:08 -04:00
|
|
|
|
2020-12-15 04:59:52 -05:00
|
|
|
widgets:
|
|
|
|
enabled:
|
|
|
|
- search
|
|
|
|
- archives
|
|
|
|
- tag-cloud
|
|
|
|
|
|
|
|
archives:
|
|
|
|
limit: 5
|
|
|
|
|
|
|
|
tagCloud:
|
|
|
|
limit: 10
|
|
|
|
|
|
|
|
opengraph:
|
|
|
|
twitter:
|
2020-12-20 05:05:34 -05:00
|
|
|
# Your Twitter username
|
2020-12-15 04:59:52 -05:00
|
|
|
site:
|
2020-12-20 05:05:34 -05:00
|
|
|
|
|
|
|
# Available values: summary, summary_large_image
|
2020-12-15 04:59:52 -05:00
|
|
|
card: summary_large_image
|
|
|
|
|
|
|
|
defaultImage:
|
|
|
|
opengraph:
|
|
|
|
enabled: false
|
|
|
|
local: false
|
|
|
|
src:
|
|
|
|
|
2020-12-23 13:03:40 -05:00
|
|
|
colorScheme:
|
|
|
|
# Display toggle
|
|
|
|
toggle: true
|
2021-01-01 07:16:11 -05:00
|
|
|
|
2020-12-23 13:03:40 -05:00
|
|
|
# Available values: auto, light, dark
|
|
|
|
default: auto
|
|
|
|
|
2020-12-23 15:02:35 -05:00
|
|
|
imageProcessing:
|
|
|
|
cover:
|
|
|
|
enabled: true
|
|
|
|
content:
|
|
|
|
enabled: true
|
|
|
|
|
2021-03-07 07:02:39 -05:00
|
|
|
### Custom menu
|
2021-08-24 06:16:27 -04:00
|
|
|
### See https://docs.stack.jimmycai.com/configuration/custom-menu.html
|
2021-03-07 07:02:39 -05:00
|
|
|
### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter
|
2020-12-15 04:59:52 -05:00
|
|
|
menu:
|
|
|
|
main:
|
|
|
|
- identifier: home
|
|
|
|
name: Home
|
|
|
|
url: /
|
|
|
|
weight: -100
|
2021-08-08 11:39:33 -04:00
|
|
|
params:
|
2021-08-15 06:03:59 -04:00
|
|
|
### For demonstration purpose, the home link will be open in a new tab
|
|
|
|
newTab: true
|
2021-10-23 03:18:44 -04:00
|
|
|
icon: home
|
2020-12-15 04:59:52 -05:00
|
|
|
|
|
|
|
related:
|
|
|
|
includeNewer: true
|
|
|
|
threshold: 60
|
|
|
|
toLower: false
|
|
|
|
indices:
|
|
|
|
- name: tags
|
|
|
|
weight: 100
|
|
|
|
|
|
|
|
- name: categories
|
|
|
|
weight: 200
|
|
|
|
|
|
|
|
markup:
|
2021-09-03 13:05:10 -04:00
|
|
|
goldmark:
|
|
|
|
renderer:
|
|
|
|
## Set to true if you have HTML content inside Markdown
|
|
|
|
unsafe: false
|
2021-06-21 12:44:54 -04:00
|
|
|
tableOfContents:
|
|
|
|
endLevel: 4
|
|
|
|
ordered: true
|
|
|
|
startLevel: 2
|
2020-12-15 04:59:52 -05:00
|
|
|
highlight:
|
|
|
|
noClasses: false
|