Hexo页脚跳动的心
编辑blog/themes/butterfly/layout/includes/footer.pug文件
将以下内容
1 | ©${theme.footer.owner.since} - ${nowYear} By ${config.author} |
改为
1 | ©${theme.footer.owner.since} - ${nowYear + ' '} <i id="heartbeat" class="fa fas fa-heartbeat"></i> ${config.author} |
将以下内容
1 | ©${nowYear} By ${config.author} |
改为
1 | ©${nowYear + ' '} <i id="heartbeat" class="fa fas fa-heartbeat"></i> ${config.author} |
将以下内容添加到<head></head>标签内,也可以直接放在footer.pug文件的最后一行:
1 | <link rel="stylesheet" href="https://fastly.jsdelivr.net/gh/HCLonely/images@master/others/heartbeat.min.css"> |
footer.pug文件完整代码如下所示:
1 | #footer-wrap |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 竹山一叶!
💡 准备购买云服务器 / 域名来搭建或部署站点?
通过下面的链接下单,通常能领到新用户专属优惠,也能小额支持本站持续更新:
阿里云(返现) | 腾讯云 2核2G 99元/年 | 腾讯云 云产品特惠
评论













