Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

hexo-auto-excerpt-rebirth

ArcticLampyrid50MIT1.1.0

[![npm-image]][npm-url] ![license-image]

excerpt, hexo, auto-excerpt, hexo-filter

readme

hexo-auto-excerpt-rebirth

npm-image license-image

A Hexo plugin that automatically generates excerpts for your posts, rebirth of hexo-auto-excerpt with more features and flexibility.

Config

auto_excerpt:
  as_html: true # Whether to output the excerpt as HTML or plain text (default: false)
  length: 150 # Limit the number of characters in the excerpt (default: 150)
  lines: 5 # Limit the number of lines in the excerpt (default: 5)
  filters: 
  # Filter the post based on the specified property
  - key: title # For property `title`
    value: '' # If the property is empty
    type: deny # Deny the processing of the post