Great Plugins for Hexo
·
2 min read
I’m still using Hexo for my blog. The following are the hexo plugins I used.
Note: The configuration file is _config.yml
hexo-abbrlink
permalink: :year/:month/:day/:abbrlink/
hexo-algoliasearch
Article search and free quota are enough for me.
# 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
# https://github.com/chekun/hexo-excerpt
excerpt:
depth: 5
excerpt_excludes: ['img']
more_excludes: []
hideWholePostExcerpts: true
hexo-generator-archive
Archive page generation
# 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
# 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
# Generate sitemap.
# https://github.com/hexojs/hexo-generator-sitemap
sitemap:
path: sitemap.xml
hexo-generator-tag
Generate tag label page
# 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.
# @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
# https://github.com/next-theme/hexo-theme-next
theme: next
Write at the end
- Hexo is still in an active state, don’t worry about it.
- The main focus of blog maintenance is still on content, currently, Hexo is enough.