2.5.3
New
-
Customize commit message #312 (for github, heroku, git deployer)
You can customize commit messages in shell
$ hexo d -m "Commit message"
or in
_config.yml
.deploy: type: github repo: ... message: Commit message
-
Support include css in stylus #542
Fixed
- Nested tag plugins #531
- Catch all errors in processors #535
- Strip HTML tags in header #576
- Fix default value of
og:description
inopen_graph
helper #578 - Remove final new line in
include_code
tag #575 - Fix
list_posts
helper #561 - Escape special characters in the title when creating a new post #539
API Changes
-
Tag plugin: Add escape option. You can choose whether to escape contents inside a tag now. This option is enabled by default. #529
hexo.extend.tag.register('tag', function(){ // ... }, {escape: true});
-
Refactor
util.yfm
#535 -
Add
util.escape.regex
-
Modified
open_graph
helper- Change
<meta name>
to<meta property>
- Add
fb_app_id
option
- Change