0.1.0 • Published 7 years ago
hexo-easy-abstract v0.1.0
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 fromget_post_abstract(post)
.
0.1.0
7 years ago