Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Build and deploy Hexo site to GitHub Pages (replaces legacy deploy.yml).
# Uses actions/checkout@v4 and actions/setup-node@v4 (npm cache via setup-node; no separate actions/cache step).
name: Build and deploy Pages

on:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ node_modules/
public/
.deploy*/
_multiconfig.yml
_config.butterfly.local.yml
.agents/
37 changes: 16 additions & 21 deletions _config.butterfly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,9 @@ addtoany:

comments:
# Up to two comments system, the first will be shown as default
# Leave it empty if you don't need comments.
# Choose: Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42/Artalk
use:
# Choose: Disqus/Disqusjs/Livere/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42/Artalk
# Migrated from Gitalk (OAuth secrets must never be committed — use env or untracked _config.butterfly.local.yml).
use: Giscus
text: true # Display the comment name next to the button
# lazyload: The comment system will be load when comment element enters the browser's viewport.
# If you set it to true, the comment count will be invalid
Expand All @@ -439,16 +439,6 @@ disqusjs:
livere:
uid:

# gitalk
# https://github.com/gitalk/gitalk
gitalk:
client_id:
client_secret:
repo:
owner:
admin:
option:

# valine
# https://valine.js.org
valine:
Expand Down Expand Up @@ -495,16 +485,21 @@ twikoo:
visitor: false
option:

# Giscus
# https://giscus.app/
# Giscus (GitHub Discussions–based comments; replaces Gitalk)
# Setup: https://giscus.app/ — enable Discussions, install the giscus GitHub App, create a category, then paste repo_id and category_id below.
# Never commit OAuth client secrets; Giscus only needs public repo/category IDs.
giscus:
repo:
repo_id:
category_id:
theme:
light: light
dark: dark
repo: Shirolin/Shirolin.github.io
repo_id: R_kgDOJ7cwrQ
category_id: DIC_kwDOJ7cwrc4DFWWs
light_theme: light
dark_theme: dark
option:
data-lang: zh-CN
data-mapping: pathname
data-strict: '0'
data-input-position: bottom
data-category: Announcements

# Remark42
# https://remark42.com/docs/configuration/frontend/
Expand Down
Loading