Skip to content

Commit

Permalink
-disqus-
Browse files Browse the repository at this point in the history
  • Loading branch information
leafcxy committed Jul 1, 2024
1 parent 90313c3 commit 6ff6262
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 97 deletions.
9 changes: 0 additions & 9 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -379,15 +379,6 @@ han: false
# Baidu Analytics ID
#baidu_analytics:

# Disqus
disqus:
enable: false
shortname:
count: true
# hide comments (visitors need to click to load the comments)
# count need to be false when hide is true
hide: false

# <wildfire>
wildfire:
enable: false
Expand Down
11 changes: 0 additions & 11 deletions _includes/_macro/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,6 @@
<span class="post-comments-count fb-comments-count" data-href="{{ post.url | absolute_url }}" itemprop="commentCount">0</span> comments
</a>
</span>
{% elsif site.disqus.enable and site.disqus.count %}
<span class="post-comments-count">
<span class="post-meta-divider">|</span>
<span class="post-meta-item-icon">
<i class="fa fa-comment-o"></i>
</span>
<a href="{{ post.url | relative_url }}#comments" itemprop="discussionUrl">
<span class="post-comments-count disqus-comment-count"
data-disqus-identifier="{{ post.url }}" itemprop="commentCount"></span>
</a>
</span>
{% elsif site.wildfire.enable %}
<span class="post-comments-count">
<span class="post-meta-divider">|</span>
Expand Down
7 changes: 0 additions & 7 deletions _includes/_partials/comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
</div>
{% elsif site.vkontakte_api.enable and site.vkontakte_api.comments %}
<div id="vk_comments"></div>
{% elsif site.disqus.enable %}
<div id="disqus_thread">
<noscript>
Please enable JavaScript to view the
<a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript>
</div>
{% elsif site.hypercomments_id %}
<div id="hypercomments_widget"></div>
{% elsif site.gentie_productKey %}
Expand Down
67 changes: 0 additions & 67 deletions _includes/_third-party/comments/disqus.html

This file was deleted.

1 change: 0 additions & 1 deletion _includes/_third-party/comments/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{% include _third-party/comments/disqus.html %}
{% include _third-party/comments/hypercomments.html %}
{% include _third-party/comments/gentie.html %}
{% include _third-party/comments/gitalk.html %}
Expand Down
2 changes: 1 addition & 1 deletion _posts/2024-07-01-timezone issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tags: [Blogs, Jekyll, default_tags]
---


Jekyll timezone 配置有坑,统一使用utc时间
Jekyll timezone 配置有坑,统一使用utc时间 1051

```bash
$ sh add.sh "timezone issue"
Expand Down
1 change: 0 additions & 1 deletion _sass/_common/components/third-party/third-party.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
@import "baidushare";
@import "localsearch";
@import "busuanzi-counter";
@import "disqus";

0 comments on commit 6ff6262

Please sign in to comment.