ArcticLampyrid / hexo-auto-excerpt-rebirth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:JavaScript 100.0%