github hexojs/hexo 1.1.0

latest releases: v7.2.0, v7.1.1, v7.1.0...
10 years ago

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

Don't miss a new hexo release

NewReleases is sending notifications on new releases.