文章以默认主题landspace为例,计划将统计代码放在页面下方。
1,编辑主题目录下layout/_partial/footer.ejs文件。

2,在</footer>前适当位置插入统计代码。

3,保存并重新发布。
hexo clean && hexo generate && hexo deploy
本文链接地址: https://danteng.org/hexo-how-to-deploy-statistic-code/
文章以默认主题landspace为例,计划将统计代码放在页面下方。
1,编辑主题目录下layout/_partial/footer.ejs文件。
2,在</footer>前适当位置插入统计代码。
3,保存并重新发布。
hexo clean && hexo generate && hexo deploy
本文链接地址: https://danteng.org/hexo-how-to-deploy-statistic-code/