Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arcticlampyrid/hexo-auto-excerpt-rebirth
https://github.com/arcticlampyrid/hexo-auto-excerpt-rebirth
Last synced: about 19 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/arcticlampyrid/hexo-auto-excerpt-rebirth
- Owner: ArcticLampyrid
- License: mit
- Created: 2024-06-19T16:21:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-15T20:05:51.000Z (4 months ago)
- Last Synced: 2024-11-10T03:53:38.950Z (5 days ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## hexo-auto-excerpt-rebirth
[![npm-image]][npm-url]
[![license-image]](LICENSE)A Hexo plugin that automatically generates excerpts for your posts, rebirth of [hexo-auto-excerpt](https://github.com/ashisherc/hexo-auto-excerpt) with more features and flexibility.
## Config
```yaml
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
```[npm-image]: https://img.shields.io/npm/v/hexo-auto-excerpt-rebirth?style=flat-square
[license-image]: https://img.shields.io/npm/l/hexo-auto-excerpt-rebirth?style=flat-square
[npm-url]: https://www.npmjs.com/package/hexo-auto-excerpt-rebirth