惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Announcements
Recent Announcements
J
Java Code Geeks
雷峰网
雷峰网
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
腾讯CDC
博客园 - 司徒正美
B
Blog RSS Feed
博客园 - 三生石上(FineUI控件)
I
InfoQ
N
Netflix TechBlog - Medium
L
LangChain Blog
博客园_首页
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Tailwind CSS Blog
MyScale Blog
MyScale Blog
美团技术团队
The Cloudflare Blog
爱范儿
爱范儿
Stack Overflow Blog
Stack Overflow Blog
博客园 - 聂微东
H
Help Net Security
Martin Fowler
Martin Fowler
V
Visual Studio Blog

Mycpen

12_Hexo-GitHub Actions 发布博客静态资源至 NPM 06_转载-自我提升的8个好习惯 05_转载-延寿指南-反向面试-文档写作规范 04_转载-提问的智慧 03_转载-中文文案排版指北 11_Hexo-GitHub Actions 自动部署博客 10_Hexo-GitHub Actions 自动刷新多吉云 CDN 缓存 08_Other-GitHub Actions 定时执行脚本,备份又拍云云存储 07_Other-文章记录-sshpass 03_Error-问题记录-winpty-.gitignore 02_转载-Replit 部署 Memos & Butterfly 基于 Memos 实现清单功能 09_Hexo-Replit 搭建 Uptime Kuma 监控服务 08_Hexo-博客引用 B站鸿蒙字体 07_Hexo-插件整理 06_Other-Windows 图片批量压缩工具 ultra-tinypng 01_转载-图床搭建 Backblaze B2 + Cloudflare CDN 05_Other-使用 Python open 函数批量替换文件内容 04_Other-使用 Python ftplib 模块同步又拍云云存储数据至本地 03_Other-PC端环境记录
13_Hexo-操作记录
Mycpen · 2023-06-01 · via Mycpen

发表于|更新于|Hexo|Hexo

|总字数153|阅读时长1分钟

01. Giscus 评论系统

博客弃用 Twikoo,改用 Giscus 进行评论

参考

  1. butterfly

  2. Nick Xu

网址:https://giscus.app/zh-CN

Discussion 分类选择 General

Discussion 分类选择 Announcements,填写信息后获取 repo_idcategory_id

需注意 Giscus 不支持最新评论,详见 butterfly

引入的 cdn 资源为 https://giscus.app/client.js ,暂未找到第三方 npm cdn。可自建 Giscus,参考 xaoxuu

示例

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


giscus:
repo: xx/xx
repo_id: xx
category_id: xx
theme:
light: light
dark: dark
option:
data-category: Announcements
data-input-position: top
data-lang: zh-CN
data-loading: lazy

其它参考

  1. 自建 Giscus,未使用 xaoxuu

  2. https://github.com/eallion/eallion.com/discussions

  3. https://github.com/xaoxuu/blog-comments/discussions

版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议,转载请注明来自 Mycpen


欢迎访问 MYCPEN BLOG

建站初衷 记录学习历程,整理平时发现并解决的问题