From e3724557a3bc340addc6b3f3e2167c42becd8370 Mon Sep 17 00:00:00 2001 From: kaixin <1229738486@qq.com> Date: Sun, 30 Aug 2020 17:07:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=B0=BE=E9=83=A8=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=85=AC=E5=AE=89=E5=A4=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 尾部添加公安备案显示,备案链接添加”rel="nofollow"“属性,有利于SEO --- _config.yml | 6 ++++++ layout/_partial/footer.ejs | 10 +++++++++- source/images/beian.png | Bin 0 -> 19256 bytes 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 source/images/beian.png diff --git a/_config.yml b/_config.yml index 43ebe82..4cd61b7 100644 --- a/_config.yml +++ b/_config.yml @@ -161,6 +161,12 @@ icp: enable: false url: "http://www.beian.miit.gov.cn/" # 备案链接 text: "浙ICP备88888888" # 备案信息 +#公安备案信息尾部显示 +gongan: + enable: false + img: /images/beian.png #公安备案图片 + url: "http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=" #公安备案链接 + text: "湘公网安备01234567890123号" #公安备案信息 # 评论:1、Valine(推荐);2、Gitalk;3、MiniValine diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index ade976b..15ddd37 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -29,10 +29,18 @@ +