New
- Add
future
setting: whether to publish future posts - Add i18n support for theme
- Add
hexo.exit
method. - Detect SIGINT signal and execute
hexo.exit
before exiting. - Add
before_exit
filters. - Add
timezone
setting. - Add
template_locals
filters. - Add
i18n_dir
setting. - Add
hexo.unwatch
method. - Get/set single setting with
hexo config
command. - Add
after_init
filters.
Changed
hexo.post.load
was removed. Usehexo.load
orhexo.watch
instead.hexo.theme.generate
was removed.- It's OK even if the
theme_dir
does not exist