仅在 drone 生产环境显示 icp 备案号 (#381)

This commit is contained in:
neveler 2026-01-24 16:13:30 +08:00 committed by GitHub
parent 74d50dc946
commit 8c80f0dcef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 3 deletions

View File

@ -14,7 +14,7 @@ steps:
commands:
- bundle config mirror.https://rubygems.org https://mirrors.cloud.tencent.com/rubygems
- bundle install --verbose
- bundle exec jekyll build --trace --verbose
- bundle exec jekyll build --trace --verbose --config _config.yml,_config.drone.yml
volumes:
- name: dist
path: /drone/src/_site

7
_config.drone.yml Normal file
View File

@ -0,0 +1,7 @@
footer:
links:
- label: Github
icon: fab fa-fw fa-github
url: https://github.com/HMCL-dev/HMCL
- label: 粤ICP备18071565号
url: https://beian.miit.gov.cn

View File

@ -269,8 +269,6 @@ footer:
- label: Github
icon: fab fa-fw fa-github
url: https://github.com/HMCL-dev/HMCL
- label: 粤ICP备18071565号
url: https://beian.miit.gov.cn
# since:
# minimal-mistakes (with jekyll-paginate-v2) https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md#site-configuration