[feat] support giscus self-hosting

This commit is contained in:
xaoxuu 2024-01-02 12:55:12 +08:00
parent e81ff01ace
commit f348f94b79
2 changed files with 1 additions and 1 deletions

View File

@ -107,6 +107,7 @@ comments:
# giscus
# https://giscus.app/zh-CN
giscus:
src: https://giscus.app/client.js
data-repo: xxx/xxx # [在此输入仓库]
data-repo-id: # [在此输入仓库 ID]
data-category: # [在此输入分类名]

View File

@ -9,7 +9,6 @@
console.error(error);
}
var script = document.createElement('script');
script.src = 'https://giscus.app/client.js';
script.async = true;
for (let key of Object.keys(el.attributes)) {
let attr = el.attributes[key];