taletype 0.1.4 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/giscus_comments.html +22 -0
- data/_includes/gitalk_comments.html +3 -1
- data/_layouts/page.html +2 -0
- data/_layouts/post.html +6 -1
- data/_sass/tale/_commentation.scss +8 -0
- data/_sass/tale.scss +1 -0
- data/_sass/vendor/_gitalk.scss +1 -0
- data/assets/js/gitalk.min.js +6 -6
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fedae7750e52dc20a1d8f8990ef3d83be8166e1a355d313ebb215c43a9fcdec
|
4
|
+
data.tar.gz: 838842aa575ff21ec7418918b0e4c9a8b08ee527089e630a459fede5532c3290
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce025d52d350b5bd4baf6138e428bd684d02e72b147abbb9a9de75fa16f7cfe44807c11693b7ec1b1246fe3fd4dc331adef9aa3484e555a9a86f8068d1808bef
|
7
|
+
data.tar.gz: 887f6d4cb4548a027bd4148c0742d1bf74be12d06464a8fe251e2fc2a1cc74765584a36ef94be9ddf0d18a8649140bd5c3267cf81f54c1bda8b8804234ed9f68
|
@@ -0,0 +1,22 @@
|
|
1
|
+
|
2
|
+
<div class="commentation">
|
3
|
+
<div>欢迎留下你的宝贵评论,也可以在 <a href="https://github.com/{{ site.giscus.repo }}/discussions/{{ page.gh_discussion }}" target="_blank">GitHub discussion</a> 留言。</div>
|
4
|
+
|
5
|
+
<br />
|
6
|
+
|
7
|
+
<!-- https://giscus.app/ -->
|
8
|
+
<script src="https://giscus.app/client.js"
|
9
|
+
data-repo="{{ site.giscus.repo }}"
|
10
|
+
data-repo-id="{{ site.giscus.repo_id }}"
|
11
|
+
data-category="{{ site.giscus.category }}"
|
12
|
+
data-category-id="{{ site.giscus.category_id }}"
|
13
|
+
data-mapping="pathname"
|
14
|
+
data-reactions-enabled="1"
|
15
|
+
data-emit-metadata="0"
|
16
|
+
data-input-position="bottom"
|
17
|
+
data-theme="light"
|
18
|
+
data-lang="en"
|
19
|
+
crossorigin="anonymous"
|
20
|
+
async>
|
21
|
+
</script>
|
22
|
+
</div>
|
@@ -2,8 +2,10 @@
|
|
2
2
|
<!-- https://github.com/geektutu/hexo-theme-geektutu/blob/master/layout/_widget/comments.ejs#L31 -->
|
3
3
|
<!-- ref: https://geektutu.com/post/blog-experience-7.html -->
|
4
4
|
|
5
|
+
<div>欢迎留言,请在下面评论框或直接在 <a href="https://github.com/{{ site.gitalk.owner }}/{{ site.gitalk.repo }}/issues/{{ page.gh_issue }}" target="_blank">GitHub issue</a> 评论。</div>
|
6
|
+
|
5
7
|
<!-- Start gitalk -->
|
6
|
-
<script src="{{
|
8
|
+
<script src="{{ '/assets/js/gitalk.min.js' | relative_url }}" ></script>
|
7
9
|
<!-- <div id="disqus_thread"><h3>Discussion and feedback</h3></div> -->
|
8
10
|
<div id="gitalk-container">
|
9
11
|
<div class="gt-container text-center" style="margin-top: 50px;">
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -23,12 +23,17 @@ layout: default
|
|
23
23
|
|
24
24
|
<br />
|
25
25
|
|
26
|
-
<div
|
26
|
+
<div>本文采用<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.zh">「CC BY-SA 4.0」</a>知识共享许可协议,如果还喜欢其他文章,
|
27
|
+
欢迎<a href="/subscription">订阅“胡涂说”博客</a>。
|
28
|
+
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png" /></a>
|
29
|
+
</div>
|
27
30
|
|
28
31
|
{% if site.comments_engine == 'disqus' %}
|
29
32
|
{% include disqus_comments.html %}
|
30
33
|
{% elsif site.comments_engine == 'gitalk' %}
|
31
34
|
{% include gitalk_comments.html %}
|
35
|
+
{% elsif site.comments_engine == 'giscus' %}
|
36
|
+
{% include giscus_comments.html %}
|
32
37
|
{% else %}
|
33
38
|
{% endif %}
|
34
39
|
|
data/_sass/tale.scss
CHANGED