Skip to content

owent-contrib/hexo-excerpt

 
 

Repository files navigation

hexo-excerpt

Build Status NPM version Coverage Status

Automatic excerpt generator for Hexo!.

Hexo-excerpt: https://chekun.me/post/hexo-excerpt

Installation

$ npm install hexo-excerpt --save

This Plugin use es6 syntax, make sure your node support it.

Features

  • still works!
  • If you're lazy as I am, the plugin generate the excerpt for you, without breaking your sentences or codes!
  • If no tag is specified, the post will be updated with excerpt and more variables.

How?

This plugin runs through all your posts, if your post has more than the configured number of direct tags, then they will be the excerpt, otherwise the whole post will be used.

Configuration

You can specify the size of the excerpt by adding this to your config:

excerpt_depth: 10

Default is 10.

License

MIT

About

Automatic excerpt generator for Hexo

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%