2022-10-29 23:14:19 +08:00
|
|
|
module:
|
|
|
|
hugoVersion:
|
|
|
|
extended: true
|
|
|
|
min: "0.87.0"
|
|
|
|
|
|
|
|
params:
|
|
|
|
mainSections:
|
|
|
|
- post
|
|
|
|
featuredImageField: image
|
|
|
|
rssFullContent: true
|
2024-10-11 12:59:06 +08:00
|
|
|
favicon: # Define your favicon file path, e.g., /img/favicon.ico
|
2022-10-29 23:14:19 +08:00
|
|
|
|
|
|
|
footer:
|
2024-10-11 12:59:06 +08:00
|
|
|
since: # Add the year when your site started
|
|
|
|
customText: # Add any custom text for the footer
|
2022-10-29 23:14:19 +08:00
|
|
|
|
|
|
|
dateFormat:
|
|
|
|
published: Jan 02, 2006
|
|
|
|
lastUpdated: Jan 02, 2006 15:04 MST
|
|
|
|
|
|
|
|
sidebar:
|
|
|
|
compact: false
|
2024-10-11 12:59:06 +08:00
|
|
|
emoji: # Add emoji set if needed (e.g., GitHub, Twitter, etc.)
|
|
|
|
subtitle: # Optional subtitle for sidebar
|
2022-10-29 23:14:19 +08:00
|
|
|
avatar:
|
|
|
|
enabled: true
|
|
|
|
local: true
|
|
|
|
src: img/avatar.png
|
|
|
|
|
|
|
|
article:
|
2024-05-03 05:27:17 +08:00
|
|
|
headingAnchor: false
|
2022-10-29 23:14:19 +08:00
|
|
|
math: false
|
|
|
|
toc: true
|
|
|
|
readingTime: true
|
|
|
|
license:
|
|
|
|
enabled: false
|
|
|
|
default: Licensed under CC BY-NC-SA 4.0
|
|
|
|
|
|
|
|
comments:
|
|
|
|
enabled: false
|
2024-10-11 12:59:06 +08:00
|
|
|
provider: disqus # Enable a comment provider if needed (e.g., disqus, utterances, etc.)
|
2022-10-29 23:14:19 +08:00
|
|
|
|
2024-10-11 12:59:06 +08:00
|
|
|
# Disqus configuration
|
2022-10-29 23:14:19 +08:00
|
|
|
disqusjs:
|
2024-10-11 12:59:06 +08:00
|
|
|
shortname: # Add your Disqus shortname
|
|
|
|
apiUrl: # Optional API URL for Disqus
|
|
|
|
apiKey: # Add API key if required
|
2022-10-29 23:14:19 +08:00
|
|
|
admin:
|
|
|
|
adminLabel:
|
|
|
|
|
2024-10-11 12:59:06 +08:00
|
|
|
# Utterances configuration
|
2022-10-29 23:14:19 +08:00
|
|
|
utterances:
|
2024-10-11 12:59:06 +08:00
|
|
|
repo: # Add your GitHub repo for comments
|
2022-10-29 23:14:19 +08:00
|
|
|
issueTerm: pathname
|
|
|
|
label:
|
|
|
|
|
2024-10-11 12:59:06 +08:00
|
|
|
# Beaudar configuration
|
2024-03-03 06:33:11 +08:00
|
|
|
beaudar:
|
|
|
|
repo:
|
|
|
|
issueTerm: pathname
|
|
|
|
label:
|
2024-10-11 12:59:06 +08:00
|
|
|
theme: # Define your preferred theme (e.g., light, dark)
|
2024-03-03 06:33:11 +08:00
|
|
|
|
2024-10-11 12:59:06 +08:00
|
|
|
# Remark42 configuration
|
2022-10-29 23:14:19 +08:00
|
|
|
remark42:
|
2024-10-11 12:59:06 +08:00
|
|
|
host: # Define Remark42 host URL
|
|
|
|
site: # Add your site domain
|
2022-10-29 23:14:19 +08:00
|
|
|
locale:
|
|
|
|
|
2024-10-11 12:59:06 +08:00
|
|
|
# Vssue configuration
|
2022-10-29 23:14:19 +08:00
|
|
|
vssue:
|
|
|
|
platform:
|
|
|
|
owner:
|
|
|
|
repo:
|
|
|
|
clientId:
|
|
|
|
clientSecret:
|
|
|
|
autoCreateIssue: false
|
|
|
|
|
2024-10-11 12:59:06 +08:00
|
|
|
# Waline client configuration
|
2022-10-29 23:14:19 +08:00
|
|
|
waline:
|
2024-10-11 12:59:06 +08:00
|
|
|
serverURL: # Add Waline server URL
|
2022-10-29 23:14:19 +08:00
|
|
|
lang:
|
2024-10-11 12:59:06 +08:00
|
|
|
visitor: true
|
|
|
|
avatar: true
|
2022-10-29 23:14:19 +08:00
|
|
|
emoji:
|
|
|
|
- https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
|
|
|
|
requiredMeta:
|
2023-08-27 19:48:42 +08:00
|
|
|
- nick
|
|
|
|
- mail
|
2022-10-29 23:14:19 +08:00
|
|
|
locale:
|
|
|
|
admin: Admin
|
2024-10-11 12:59:06 +08:00
|
|
|
placeholder: Add your comment...
|
2022-10-29 23:14:19 +08:00
|
|
|
|
2024-10-11 12:59:06 +08:00
|
|
|
# Twikoo configuration
|
2022-10-29 23:14:19 +08:00
|
|
|
twikoo:
|
2024-10-11 12:59:06 +08:00
|
|
|
envId: # Add Twikoo environment ID
|
|
|
|
region: # Define Twikoo region (e.g., cn, us)
|
2022-10-29 23:14:19 +08:00
|
|
|
path:
|
|
|
|
lang:
|
|
|
|
|
2024-10-11 12:59:06 +08:00
|
|
|
# Giscus configuration
|
2022-10-29 23:14:19 +08:00
|
|
|
giscus:
|
|
|
|
repo:
|
|
|
|
repoID:
|
|
|
|
category:
|
|
|
|
categoryID:
|
|
|
|
mapping:
|
|
|
|
strict:
|
2024-10-11 12:59:06 +08:00
|
|
|
lightTheme: # Define light theme (optional)
|
|
|
|
darkTheme: # Define dark theme (optional)
|
2022-10-29 23:14:19 +08:00
|
|
|
reactionsEnabled: 1
|
|
|
|
emitMetadata: 0
|
|
|
|
inputPosition:
|
|
|
|
lang:
|
|
|
|
|
2024-10-11 12:59:06 +08:00
|
|
|
# Gitalk configuration
|
2022-10-29 23:14:19 +08:00
|
|
|
gitalk:
|
|
|
|
owner:
|
|
|
|
admin:
|
|
|
|
repo:
|
|
|
|
clientID:
|
|
|
|
clientSecret:
|
|
|
|
|
2024-10-11 12:59:06 +08:00
|
|
|
# Cusdis configuration
|
2022-10-29 23:14:19 +08:00
|
|
|
cusdis:
|
|
|
|
host:
|
|
|
|
id:
|
|
|
|
|
|
|
|
widgets:
|
2024-10-11 12:59:06 +08:00
|
|
|
homepage: [] # Add widget components for homepage
|
|
|
|
page: [] # Add widget components for inner pages
|
2022-10-29 23:14:19 +08:00
|
|
|
|
|
|
|
opengraph:
|
|
|
|
twitter:
|
2024-10-11 12:59:06 +08:00
|
|
|
site: # Your Twitter username (e.g., @yourhandle)
|
2022-10-29 23:14:19 +08:00
|
|
|
card: summary_large_image
|
|
|
|
|
|
|
|
defaultImage:
|
|
|
|
opengraph:
|
|
|
|
enabled: false
|
|
|
|
local: false
|
2024-10-11 12:59:06 +08:00
|
|
|
src: # Define a default image URL for OpenGraph
|
2022-10-29 23:14:19 +08:00
|
|
|
|
|
|
|
colorScheme:
|
2024-10-11 12:59:06 +08:00
|
|
|
toggle: true # Display a light/dark mode toggle
|
|
|
|
default: auto # Set default mode (auto, light, dark)
|
2022-10-29 23:14:19 +08:00
|
|
|
|
|
|
|
imageProcessing:
|
|
|
|
cover:
|
2024-10-11 12:59:06 +08:00
|
|
|
enabled: true # Enable cover image processing
|
2022-10-29 23:14:19 +08:00
|
|
|
content:
|
2024-10-11 12:59:06 +08:00
|
|
|
enabled: true # Enable content image processing
|