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-07-29 15:59:15 +02:00
|
|
|
# Available values: en, fr, id, ja, ko, pt-br, zh-cn, es, de, nl, it
|
2020-12-15 10:59:52 +01:00
|
|
|
DefaultContentLanguage: en
|
|
|
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
### See https://docs.stack.jimmycai.com/configuration/custom-menu
|
|
|
|
### 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
|
|
|
|
pre: home
|
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
|
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-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
|