Great Plugins for Hexo

I’m still using Hexo for my blog. The following are the hexo plugins I used.

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

Note: The configuration file is _config.yml

1
permalink: :year/:month/:day/:abbrlink/

hexo-algoliasearch

Article search and free quota are enough for me.

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, serving 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, it’s 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 label page

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

hexo-symbols-count-time

Generate article statistics, such as word count, estimated 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 it has quite rich configurations

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

Write at the end

  1. Hexo is still in an active state, don’t worry about it.
  2. The main focus of blog maintenance is still on content, currently, Hexo is enough.