-
Notifications
You must be signed in to change notification settings - Fork 0
/
4comment.html
58 lines (53 loc) · 1.52 KB
/
4comment.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
layout: page
permalink: /comment/
title: "Comment"
description: "No Restrictions"
header-img: "img/comment-bg.jpg"
---
<hr>
<div>
Please feel free to leave comments on this page.<br>
Any suggestions or help would be greatly appreciated. 👍
</div>
<hr>
<!-- giscus comment start -->
{% if site.giscus.enable %}
<script src="https://giscus.app/client.js"
data-repo='{{site.giscus.repo}}'
data-repo-id='{{site.giscus.repo-id}}'
data-category='{{site.giscus.category}}'
data-category-id='{{site.giscus.category-id}}'
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="0"
data-emit-metadata="0"
data-input-position="top"
data-theme="light"
data-lang="en"
crossorigin="anonymous"
async>
</script>
{% endif %}
<!-- giscus comment end -->
<!-- Gitalk 评论 start -->
{% if site.gitalk.enable %}
<!-- Gitalk link -->
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk@latest/dist/gitalk.min.js"></script>
<div id="gitalk-container"></div>
<script type="text/javascript">
var gitalk = new Gitalk({
clientID: '{{site.gitalk.clientID}}',
clientSecret: '{{site.gitalk.clientSecret}}',
repo: '{{site.gitalk.repo}}',
owner: '{{site.gitalk.owner}}',
admin: ['{{site.gitalk.admin}}'],
distractionFreeMode: false,
pagerDirection: 'first',
id: 'comment',
});
gitalk.render('gitalk-container');
</script>
{% endif %}
<!-- Gitalk end -->