2.5.0
The site has been moved to hexo.io!
We need a logo for Hexo! #499
New
-
Add
i_month
,i_day
parameters to the permalink, and you can use any attribute in permalink now. -
Git deployer #452
-
Customizable IP address #469
-
New helpers: list_posts, get_posts #467
-
Add stylus settings
stylus: compress: false
-
Hexo can be run programmatically now, which means you can run Hexo with Forever or PM2. See here for more info.
-
Add
deployBefore
,deployAfter
events #510 -
Optimize generating speed by preloading all views.
Fixed
- Categories were not paginated #446
- Fix page processor #453
- Fix tests can't be run #423
- Fix
list_categories
helper #427 - Fix Swig renderer can't use
include
helper #483 - Throw exceptions when a theme is not found.
- Display warnings when layouts or partials are not found.
- Generate absolute link for
include_code
tag plugin #519
API Changes
-
Box class #482
-
Refactor i18n module
-
Refactor source, theme module. Separate theme processors.
-
Add
hexo.theme.getView(path)
function -
Deployer settings will be passed into each deployer now. You can get the settings from
args
.hexo.extend.deployer.register('github', function(args, callback){ // ... ));
-
Invoke
processBefore
,processAfter
event withpath
parameter.hexo.on('processAfter', function(path){ // ... });
-
Add
options
argument to tag plugins.hexo.extend.tag.register('tag', function(args, content, options){ // ... });