Closed hubojing closed 7 years ago
在 layout/_partial/post/nav.ejs 里面修改,这个是控制copyright的。
统计整个博客所有文章字数可以使用: <%= totalcount(site) %>
统计某一篇文章字数使用:<%= wordcount(post.content) %>,可以看这里
效果见我的博客: http://zhwhong.ml
可以在copyright里面增加文章版本控制(方便查看文章修改历史)和markdown原文下载等功能
非常感谢。
没事,不谢~
比如去掉更新时间。 另外,如何实现统计文章字数的功能?
谢谢。