mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-02-06 11:53:31 +08:00
Update config.yaml
This commit is contained in:
parent
2a18a92901
commit
fa4fab28c4
75
config.yaml
75
config.yaml
@ -8,11 +8,11 @@ params:
|
|||||||
- post
|
- post
|
||||||
featuredImageField: image
|
featuredImageField: image
|
||||||
rssFullContent: true
|
rssFullContent: true
|
||||||
favicon:
|
favicon: # Define your favicon file path, e.g., /img/favicon.ico
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
since:
|
since: # Add the year when your site started
|
||||||
customText:
|
customText: # Add any custom text for the footer
|
||||||
|
|
||||||
dateFormat:
|
dateFormat:
|
||||||
published: Jan 02, 2006
|
published: Jan 02, 2006
|
||||||
@ -20,8 +20,8 @@ params:
|
|||||||
|
|
||||||
sidebar:
|
sidebar:
|
||||||
compact: false
|
compact: false
|
||||||
emoji:
|
emoji: # Add emoji set if needed (e.g., GitHub, Twitter, etc.)
|
||||||
subtitle:
|
subtitle: # Optional subtitle for sidebar
|
||||||
avatar:
|
avatar:
|
||||||
enabled: true
|
enabled: true
|
||||||
local: true
|
local: true
|
||||||
@ -38,31 +38,36 @@ params:
|
|||||||
|
|
||||||
comments:
|
comments:
|
||||||
enabled: false
|
enabled: false
|
||||||
provider: disqus
|
provider: disqus # Enable a comment provider if needed (e.g., disqus, utterances, etc.)
|
||||||
|
|
||||||
|
# Disqus configuration
|
||||||
disqusjs:
|
disqusjs:
|
||||||
shortname:
|
shortname: # Add your Disqus shortname
|
||||||
apiUrl:
|
apiUrl: # Optional API URL for Disqus
|
||||||
apiKey:
|
apiKey: # Add API key if required
|
||||||
admin:
|
admin:
|
||||||
adminLabel:
|
adminLabel:
|
||||||
|
|
||||||
|
# Utterances configuration
|
||||||
utterances:
|
utterances:
|
||||||
repo:
|
repo: # Add your GitHub repo for comments
|
||||||
issueTerm: pathname
|
issueTerm: pathname
|
||||||
label:
|
label:
|
||||||
|
|
||||||
|
# Beaudar configuration
|
||||||
beaudar:
|
beaudar:
|
||||||
repo:
|
repo:
|
||||||
issueTerm: pathname
|
issueTerm: pathname
|
||||||
label:
|
label:
|
||||||
theme:
|
theme: # Define your preferred theme (e.g., light, dark)
|
||||||
|
|
||||||
|
# Remark42 configuration
|
||||||
remark42:
|
remark42:
|
||||||
host:
|
host: # Define Remark42 host URL
|
||||||
site:
|
site: # Add your site domain
|
||||||
locale:
|
locale:
|
||||||
|
|
||||||
|
# Vssue configuration
|
||||||
vssue:
|
vssue:
|
||||||
platform:
|
platform:
|
||||||
owner:
|
owner:
|
||||||
@ -71,12 +76,12 @@ params:
|
|||||||
clientSecret:
|
clientSecret:
|
||||||
autoCreateIssue: false
|
autoCreateIssue: false
|
||||||
|
|
||||||
# Waline client configuration see: https://waline.js.org/en/reference/client/props.html
|
# Waline client configuration
|
||||||
waline:
|
waline:
|
||||||
serverURL:
|
serverURL: # Add Waline server URL
|
||||||
lang:
|
lang:
|
||||||
visitor:
|
visitor: true
|
||||||
avatar:
|
avatar: true
|
||||||
emoji:
|
emoji:
|
||||||
- https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
|
- https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
|
||||||
requiredMeta:
|
requiredMeta:
|
||||||
@ -84,14 +89,16 @@ params:
|
|||||||
- mail
|
- mail
|
||||||
locale:
|
locale:
|
||||||
admin: Admin
|
admin: Admin
|
||||||
placeholder:
|
placeholder: Add your comment...
|
||||||
|
|
||||||
|
# Twikoo configuration
|
||||||
twikoo:
|
twikoo:
|
||||||
envId:
|
envId: # Add Twikoo environment ID
|
||||||
region:
|
region: # Define Twikoo region (e.g., cn, us)
|
||||||
path:
|
path:
|
||||||
lang:
|
lang:
|
||||||
|
|
||||||
|
# Giscus configuration
|
||||||
giscus:
|
giscus:
|
||||||
repo:
|
repo:
|
||||||
repoID:
|
repoID:
|
||||||
@ -99,13 +106,14 @@ params:
|
|||||||
categoryID:
|
categoryID:
|
||||||
mapping:
|
mapping:
|
||||||
strict:
|
strict:
|
||||||
lightTheme:
|
lightTheme: # Define light theme (optional)
|
||||||
darkTheme:
|
darkTheme: # Define dark theme (optional)
|
||||||
reactionsEnabled: 1
|
reactionsEnabled: 1
|
||||||
emitMetadata: 0
|
emitMetadata: 0
|
||||||
inputPosition:
|
inputPosition:
|
||||||
lang:
|
lang:
|
||||||
|
|
||||||
|
# Gitalk configuration
|
||||||
gitalk:
|
gitalk:
|
||||||
owner:
|
owner:
|
||||||
admin:
|
admin:
|
||||||
@ -113,37 +121,32 @@ params:
|
|||||||
clientID:
|
clientID:
|
||||||
clientSecret:
|
clientSecret:
|
||||||
|
|
||||||
|
# Cusdis configuration
|
||||||
cusdis:
|
cusdis:
|
||||||
host:
|
host:
|
||||||
id:
|
id:
|
||||||
|
|
||||||
widgets:
|
widgets:
|
||||||
homepage: []
|
homepage: [] # Add widget components for homepage
|
||||||
page: []
|
page: [] # Add widget components for inner pages
|
||||||
|
|
||||||
opengraph:
|
opengraph:
|
||||||
twitter:
|
twitter:
|
||||||
# Your Twitter username
|
site: # Your Twitter username (e.g., @yourhandle)
|
||||||
site:
|
|
||||||
|
|
||||||
# Available values: summary, summary_large_image
|
|
||||||
card: summary_large_image
|
card: summary_large_image
|
||||||
|
|
||||||
defaultImage:
|
defaultImage:
|
||||||
opengraph:
|
opengraph:
|
||||||
enabled: false
|
enabled: false
|
||||||
local: false
|
local: false
|
||||||
src:
|
src: # Define a default image URL for OpenGraph
|
||||||
|
|
||||||
colorScheme:
|
colorScheme:
|
||||||
# Display toggle
|
toggle: true # Display a light/dark mode toggle
|
||||||
toggle: true
|
default: auto # Set default mode (auto, light, dark)
|
||||||
|
|
||||||
# Available values: auto, light, dark
|
|
||||||
default: auto
|
|
||||||
|
|
||||||
imageProcessing:
|
imageProcessing:
|
||||||
cover:
|
cover:
|
||||||
enabled: true
|
enabled: true # Enable cover image processing
|
||||||
content:
|
content:
|
||||||
enabled: true
|
enabled: true # Enable content image processing
|
||||||
|
Loading…
Reference in New Issue
Block a user