0.1.0 • Published 7 years ago

hexo-easy-abstract v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

hexo-easy-abstract

Make creating hexo post abstract easier.

Install

npm install --save hexo-easy-abstract

Usage

helper

  • get_post_abstract(post): Get abstract text from post content. This function can be used in your template files to generate abstract for posts.

tag

  • abstract_start: Mark where abstract goes from. If absent, abstract goes from post start.
  • abstract_stop: Mark where abstract stops. If absent, no abstract will be returned from get_post_abstract(post).