Skip to content

Commit 642b687

Browse files
committed
2023-10-12:移除评论系统
1 parent b9ef185 commit 642b687

3 files changed

Lines changed: 29 additions & 21 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
source 'https://gems.ruby-china.com/'
1+
source 'https://rubygems.org'
22

33
gem 'github-pages', group: :jekyll_plugins
44
group :jekyll_plugins do

Gemfile.lock

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,51 @@
11
GEM
2-
remote: https://gems.ruby-china.com/
2+
remote: https://rubygems.org/
33
specs:
4-
activesupport (7.0.4.3)
4+
activesupport (7.1.1)
5+
base64
6+
bigdecimal
57
concurrent-ruby (~> 1.0, >= 1.0.2)
8+
connection_pool (>= 2.2.5)
9+
drb
610
i18n (>= 1.6, < 2)
711
minitest (>= 5.1)
12+
mutex_m
813
tzinfo (~> 2.0)
9-
addressable (2.8.1)
14+
addressable (2.8.5)
1015
public_suffix (>= 2.0.2, < 6.0)
1116
algolia_html_extractor (2.6.4)
1217
json (~> 2.0)
1318
nokogiri (~> 1.10)
1419
algoliasearch (1.27.5)
1520
httpclient (~> 2.8, >= 2.8.3)
1621
json (>= 1.5.1)
22+
base64 (0.1.1)
23+
bigdecimal (3.1.4)
1724
coffee-script (2.4.1)
1825
coffee-script-source
1926
execjs
2027
coffee-script-source (1.11.1)
2128
colorator (1.1.0)
22-
commonmarker (0.23.8)
29+
commonmarker (0.23.10)
2330
concurrent-ruby (1.2.2)
24-
dnsruby (1.61.9)
25-
simpleidn (~> 0.1)
31+
connection_pool (2.4.1)
32+
dnsruby (1.70.0)
33+
simpleidn (~> 0.2.1)
34+
drb (2.1.1)
35+
ruby2_keywords
2636
em-websocket (0.5.3)
2737
eventmachine (>= 0.12.9)
2838
http_parser.rb (~> 0)
2939
ethon (0.16.0)
3040
ffi (>= 1.15.0)
3141
eventmachine (1.2.7)
32-
execjs (2.8.1)
33-
faraday (2.7.4)
42+
execjs (2.9.1)
43+
faraday (2.7.11)
44+
base64
3445
faraday-net_http (>= 2.0, < 3.1)
3546
ruby2_keywords (>= 0.0.4)
3647
faraday-net_http (3.0.2)
37-
ffi (1.15.5)
48+
ffi (1.16.3)
3849
filesize (0.2.0)
3950
forwardable-extended (2.6.0)
4051
gemoji (3.0.1)
@@ -94,7 +105,7 @@ GEM
94105
nokogiri (>= 1.4)
95106
http_parser.rb (0.8.0)
96107
httpclient (2.8.3)
97-
i18n (1.12.0)
108+
i18n (1.14.1)
98109
concurrent-ruby (~> 1.0)
99110
jekyll (3.9.3)
100111
addressable (~> 2.4)
@@ -227,8 +238,9 @@ GEM
227238
jekyll (>= 3.5, < 5.0)
228239
jekyll-feed (~> 0.9)
229240
jekyll-seo-tag (~> 2.1)
230-
minitest (5.18.0)
231-
nokogiri (1.14.2-x86_64-linux)
241+
minitest (5.20.0)
242+
mutex_m (0.1.2)
243+
nokogiri (1.15.4-x86_64-linux)
232244
racc (~> 1.4)
233245
octokit (4.25.1)
234246
faraday (>= 1, < 3)
@@ -237,11 +249,11 @@ GEM
237249
forwardable-extended (~> 2.6)
238250
progressbar (1.13.0)
239251
public_suffix (4.0.7)
240-
racc (1.6.2)
252+
racc (1.7.1)
241253
rb-fsevent (0.11.2)
242254
rb-inotify (0.10.1)
243255
ffi (~> 1.0)
244-
rexml (3.2.5)
256+
rexml (3.2.6)
245257
rouge (3.26.0)
246258
ruby2_keywords (0.0.5)
247259
rubyzip (2.3.2)
@@ -276,4 +288,4 @@ DEPENDENCIES
276288
jekyll-algolia
277289

278290
BUNDLED WITH
279-
2.4.7
291+
2.4.14

_includes/content.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@ <h1>{{ page.title | default: site.name }}</h1>
4141
<li>{{ log }}</li>{% endfor %}
4242
</ul>
4343
</div>{% endif %}
44-
</div>{% endif %}{% unless jekyll.environment == "development" or page.no_comment %}
45-
<div class="ni-content-comment hidden-print">
46-
<div id="lv-container" data-id="city" data-uid="MTAyMC80MTk5MS8xODUzOA=="></div>
47-
<script src="https://cdn-city.livere.com/js/embed.dist.js" async="async"></script>
48-
</div>{% endunless %}
44+
</div>{% endif %}
4945
</div>{% unless page.no_sidenav %}
5046
<div class="ni-sidenav col-sm-3 hidden-print hidden-xs">
5147
{% include toc.html html=content h_max=4 class="ni-sidenav-list nav nav-stacked affix" submenu_class="nav nav-stacked" %}

0 commit comments

Comments
 (0)