Skip to content

1.1.0

Compare
Choose a tag to compare
@tommy351 tommy351 released this 04 Jul 03:37
· 2659 commits to master since this release

New Helpers

  • Conditional: is_current, is_home, is_post, is_archive, is_year, is_month, is_category, is_tag
  • Date: date, date_xml, time, full_date, time_tag, moment
  • Form: search_form
  • Format: word_wrap, truncate, truncate_words
  • Link: link_to, mail_to
  • List: list_categories, list_tags, list_archives
  • Number: number_format

Render Console

Usage:

$ hexo render <input1> [input2] ... -o/--output [output]

Minor Changes

  • Simplify render process
  • CSS/JS helper: Add / and extension automatically.
  • Added Markdown support for pullquote tag
  • Render API: Added isRenderable, isRenderableSync, getOutput method.
  • Server: Print error message in debug mode.
  • Update package.json when initialization.
  • Ignore empty category/tag when generating.

Fixed

  • Partial file empty or not exists will cause render failed.
  • Server redirection