Skip to content

Commit f3efc5f

Browse files
author
Songyu by ComPany
committed
在网站底部添加996ICU的徽章
1 parent 3634356 commit f3efc5f

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ social:
2525

2626
# cnzz Web流量统计
2727
cnzz_key: true
28+
# 996icu网站徽章
29+
996_icu: true
2830
# Yandex metrica (https://metrica.yandex.com/) leave blank to ignore or put true to use
2931
#yandex_metrica:
3032
#标签页面标题设置

_includes/footer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<div class="footer">
44
<p>
55
{% include cnzz.html %}
6+
{% include icu.html %}
67
</p>
78
{% include social.html %}
89
</div>

_includes/icu.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{% if site.996_icu %}
2+
<a target="_blank" href="https://996.icu"><img src="https://img.shields.io/badge/link-996.icu-red.svg" alt="996.icu" /></a>
3+
{% endif %}

0 commit comments

Comments
 (0)