Hexo--Separation of article title and file name

By default, the article title generated by hexo will also be used as the file name and also be part of the url path
This is also a headache for Chinese encoding problems

The official Hexo documentation has explained a method for separating article title and file name

1
hexo new -s 'article-1' 'Article Title'

The first parameter after -s indicates the file name. English can be used.
The second parameter after -s indicates the article title name, you can use Chinese

Official description

1
-s, --slug, Post slug. Customize the URL of the post

Try it yourself

Persist in original technology sharing, your support will encourage me to continue to create!