方法一

修改 主题配置文件

1
2
footer:
custom_text: <a href="https://beian.miit.gov.cn"><img class="icp-icon" src="https://img2023.cnblogs.com/blog/2233039/202405/2233039-20240526105735195-780051803.png"><span>你的备案号</span></a>

方法二

修改 themes/butterfly/layout/includes/footer.pug,添加以下代码

1
2
<img src="https://img2023.cnblogs.com/blog/2233039/202405/2233039-20240526105735195-780051803.png" style="vertical-align: middle;" height="20px">
<a href="http://beian.miit.gov.cn/" style="color:#f72b07" target="_blank">XICP备xxxxxxx-x</a>

image-20240526131037253

效果如下

image-20240526130822674