Skip to content

Commit

Permalink
测试能不能用gitalk
Browse files Browse the repository at this point in the history
  • Loading branch information
neverlag committed May 15, 2024
1 parent 7d27628 commit cbd2b83
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
<!-- <link rel="stylesheet" href="https://unpkg.com/docsify-vuepress-theme/dist/style.min.css" /> -->
<!-- <link rel="stylesheet" href="https://unpkg.com/docsify-gifcontrol/dist/docsify-gifcontrol.css"> -->
<!-- <link rel="stylesheet" href="localcss/docsify-gifcontrol.css"> -->
<!-- darkmod -->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-dark-mode@latest/dist/style.min.css"/>
<!-- 禁止浏览器缓存 -->
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />

<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<style type="text/css">
Expand Down Expand Up @@ -125,7 +128,15 @@
buttonText : '点击复制',
errorText : '复制失败',
successText: '复制成功'
}
},
// gitalk评论
gitalk: {
clientID: 'Ov23liVlpKjiIrdqPjwd',
clientSecret: '20618de3e868310e4adae8c089e876b9decc5b97',
repo: 'dripdrop-wiki-comment',
owner: 'minecraft-dripdrop',
admin: ['minecraft-dripdrop']
}
}
</script>
<!-- <script src="https://unpkg.com/docsify-plugin-flexible-alerts"></script> -->
Expand Down Expand Up @@ -154,6 +165,11 @@
<script src="localjs/beian.js"></script>
<!-- copy-code -->
<script src="https://unpkg.com/docsify-copy-code@2"></script>
<!-- GitTalk评论 -->
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.css">
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/gitalk.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/docsify-gitalk.min.js"></script>
</body>

</html>

0 comments on commit cbd2b83

Please sign in to comment.