[feat] support giscus self-hosting
This commit is contained in:
parent
e81ff01ace
commit
f348f94b79
|
@ -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: # [在此输入分类名]
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue