hexo 修改个人公告
参考
Hexo-Butterfly主题公告语法-CSDN博客
1.打开自己博客的主题配置文件
"D:\Blog\themes\hexo-theme-butterfly\_config.yml"
|
2.找到公告代码
card_announcement: enable: true #是否开启公告 false/true content: 暂无公告 #公告内容
|
3.使用标准HTML代码进行编译
card_announcement: enable: true content: <div> <p style="color:#ea66a6;text-align:center;font-size:16px">欢迎来到小何の博客</p> <p style="text-align:center"> <a style="color:#8552a1;font-size:16px" href="http://39.108.121.100/">--- 主站 ---</a></p> <p style="text-align:center"><a style="color:#8552a1;font-size:16px" href="http://39.108.121.100/">hejixing.cn</a></p> <p style="text-align:center"><a style="color:#00ae9d;font-size:16px" href="https://hejixing.github.io/">--- 备用网站 ---</a></p> <p style="text-align:center"><a style="color:#00ae9d;font-size:16px" href="https://hejixing.github.io/">hejixing.github.io</a></p> </div>
|