From d254d1aaf452b9f48bbc9ae64e463b0d5ff4da97 Mon Sep 17 00:00:00 2001 From: Leao9203 <45661339+Leao9203@users.noreply.github.com> Date: Sat, 2 Dec 2023 23:41:42 +0800 Subject: [PATCH] Update beian URL (#723) --- _config.yml | 4 ++-- layout/_partials/footer.njk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index fede29d9f..3e8c96c70 100644 --- a/_config.yml +++ b/_config.yml @@ -221,7 +221,7 @@ footer: # Powered by Hexo & NexT powered: true - # Beian ICP and gongan information for Chinese users. See: https://beian.miit.gov.cn, http://www.beian.gov.cn + # Beian ICP and gongan information for Chinese users. See: https://beian.miit.gov.cn, https://beian.mps.gov.cn beian: enable: false icp: @@ -229,7 +229,7 @@ footer: gongan_id: # The full num of gongan beian. gongan_num: - # The icon for gongan beian. See: http://www.beian.gov.cn/portal/download + # The icon for gongan beian. Login and See: https://beian.mps.gov.cn/web/business/businessHome/website gongan_icon_url: diff --git a/layout/_partials/footer.njk b/layout/_partials/footer.njk index 1d1c66191..cffc6699e 100644 --- a/layout/_partials/footer.njk +++ b/layout/_partials/footer.njk @@ -5,7 +5,7 @@ {%- endif %} {%- if theme.footer.beian.gongan_id and theme.footer.beian.gongan_num %} - {{- next_url('http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=' + theme.footer.beian.gongan_id, theme.footer.beian.gongan_num + ' ') }} + {{- next_url('https://beian.mps.gov.cn/#/query/webSearch?code=' + theme.footer.beian.gongan_id, theme.footer.beian.gongan_num + ' ') }} {%- endif %} {%- endif %}