0%

Common Plugins for Hexo

The blog still sticks to the Hexo technology stack. Here I mark the plugins I use

https://static.1991421.cn/2024/2024-02-08-112340.jpeg

Note: The configuration file is _config.yml

hexo-algoliasearch

Article search, free quota is sufficient

1
2
3
4
5
6
7
8
9
10
11
12
13
# https://github.com/LouisBarranqueiro/hexo-algoliasearch
algolia:
appId:
applicationID:
apiKey:
adminApiKey:
chunkSize: 5000
indexName: my_blog
fields:
- content:strip:truncate,0,200
- title
- permalink
- tags

hexo-excerpt

Automatic excerpt

1
2
3
4
5
6
# https://github.com/chekun/hexo-excerpt
excerpt:
depth: 5
excerpt_excludes: ['img']
more_excludes: []
hideWholePostExcerpts: true

hexo-generator-archive

Archive page generation

1
2
3
4
5
6
7
8
# https://github.com/hexojs/hexo-generator-archive
archive_generator:
enabled: true
per_page: 10
yearly: true
monthly: false
daily: false
order_by: -date

hexo-generator-feed

Generate feed.xml subscription link, serves RSS

1
2
3
4
5
6
7
8
9
# https://github.com/hexojs/hexo-generator-feed
feed:
type: atom
path: atom.xml
limit: 20
hub:
content:
content_limit: 140
content_limit_delim: ' '

hexo-generator-sitemap

Generate site xml, useful for SEO

1
2
3
4
#Generate sitemap.
# https://github.com/hexojs/hexo-generator-sitemap
sitemap:
path: sitemap.xml

hexo-generator-tag

Generate TAG tag pages

1
2
3
4
# https://github.com/hexojs/hexo-generator-tag
tag_generator:
per_page: 10
order_by: -date

hexo-symbols-count-time

Article statistics generation, such as word count, approximate reading time, etc.

1
2
3
4
5
6
7
8
9
# @see https://github.com/theme-next/hexo-symbols-count-time
symbols_count_time:
symbols: true
time: true
total_symbols: true
total_time: true
exclude_codeblock: false
awl: 2
wpm: 300

hexo-theme-next

Site theme, I prefer theme-next, mainly because the configuration is also rich

1
2
# https://github.com/next-theme/hexo-theme-next
theme: next

In Conclusion

Hexo is currently still in an active state
The main focus of blog maintenance is still content, Hexo is still sufficient for now