Skip to content

Commit 8c80f0d

Browse files
authored
仅在 drone 生产环境显示 icp 备案号 (#381)
1 parent 74d50dc commit 8c80f0d

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ steps:
1414
commands:
1515
- bundle config mirror.https://rubygems.org https://mirrors.cloud.tencent.com/rubygems
1616
- bundle install --verbose
17-
- bundle exec jekyll build --trace --verbose
17+
- bundle exec jekyll build --trace --verbose --config _config.yml,_config.drone.yml
1818
volumes:
1919
- name: dist
2020
path: /drone/src/_site

_config.drone.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
footer:
2+
links:
3+
- label: Github
4+
icon: fab fa-fw fa-github
5+
url: https://github.com/HMCL-dev/HMCL
6+
- label: 粤ICP备18071565号
7+
url: https://beian.miit.gov.cn

_config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,6 @@ footer:
269269
- label: Github
270270
icon: fab fa-fw fa-github
271271
url: https://github.com/HMCL-dev/HMCL
272-
- label: 粤ICP备18071565号
273-
url: https://beian.miit.gov.cn
274272
# since:
275273

276274
# minimal-mistakes (with jekyll-paginate-v2) https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md#site-configuration

0 commit comments

Comments
 (0)