Skip to content

Commit

Permalink
add wordcount
Browse files Browse the repository at this point in the history
  • Loading branch information
Stan370 committed Mar 14, 2024
1 parent 1de274f commit 40d3311
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
13 changes: 12 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"hexo-renderer-marked": "^5.0.0",
"hexo-renderer-stylus": "^2.0.0",
"hexo-server": "^3.0.0",
"hexo-theme-landscape": "^0.0.3"
"hexo-theme-landscape": "^0.0.3",
"hexo-wordcount": "^6.0.1"
}
}
6 changes: 3 additions & 3 deletions themes/hexo-theme-matery/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ menu:
# 站点运行开始时间.
time:
enable: false
year: 2019 # 年份
year: 2021 # 年份
month: 06 # 月份
date: 28 # 日期
hour: 00 # 小时
Expand Down Expand Up @@ -188,9 +188,9 @@ mathjax:
postInfo:
date: true # 发布日期
update: false # 更新日期
wordCount: false # 文章字数统计
wordCount: true # 文章字数统计
totalCount: false # 站点总文章字数
min2read: false # 文章阅读时长
min2read: true # 文章阅读时长
readCount: false # 文章阅读次数

# Whether to activate the 'love' effect of clicking on the page.
Expand Down

0 comments on commit 40d3311

Please sign in to comment.