hugo-theme-stack/config.yaml

153 lines
3.8 KiB
YAML
Raw Normal View History

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
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
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
avatar:
enabled: true
local: true
src: img/avatar.png
article:
headingAnchor: false
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.)
2024-10-11 12:59:06 +08:00
# Disqus configuration
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
admin:
adminLabel:
2024-10-11 12:59:06 +08:00
# Utterances configuration
utterances:
2024-10-11 12:59:06 +08:00
repo: # Add your GitHub repo for comments
issueTerm: pathname
label:
2024-10-11 12:59:06 +08:00
# Beaudar configuration
beaudar:
repo:
issueTerm: pathname
label:
2024-10-11 12:59:06 +08:00
theme: # Define your preferred theme (e.g., light, dark)
2024-10-11 12:59:06 +08:00
# Remark42 configuration
remark42:
2024-10-11 12:59:06 +08:00
host: # Define Remark42 host URL
site: # Add your site domain
locale:
2024-10-11 12:59:06 +08:00
# Vssue configuration
vssue:
platform:
owner:
repo:
clientId:
clientSecret:
autoCreateIssue: false
2024-10-11 12:59:06 +08:00
# Waline client configuration
waline:
2024-10-11 12:59:06 +08:00
serverURL: # Add Waline server URL
lang:
2024-10-11 12:59:06 +08:00
visitor: true
avatar: true
emoji:
- https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
requiredMeta:
- nick
- mail
locale:
admin: Admin
2024-10-11 12:59:06 +08:00
placeholder: Add your comment...
2024-10-11 12:59:06 +08:00
# Twikoo configuration
twikoo:
2024-10-11 12:59:06 +08:00
envId: # Add Twikoo environment ID
region: # Define Twikoo region (e.g., cn, us)
path:
lang:
2024-10-11 12:59:06 +08:00
# Giscus configuration
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)
reactionsEnabled: 1
emitMetadata: 0
inputPosition:
lang:
2024-10-11 12:59:06 +08:00
# Gitalk configuration
gitalk:
owner:
admin:
repo:
clientID:
clientSecret:
2024-10-11 12:59:06 +08:00
# Cusdis configuration
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
opengraph:
twitter:
2024-10-11 12:59:06 +08:00
site: # Your Twitter username (e.g., @yourhandle)
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
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)
imageProcessing:
cover:
2024-10-11 12:59:06 +08:00
enabled: true # Enable cover image processing
content:
2024-10-11 12:59:06 +08:00
enabled: true # Enable content image processing