hexo-description
v0.1.0
Published
A plugin for hexo, auto use excerpt as post description.
Downloads
92
Maintainers
Readme
hexo-description
[](https://www.npmjs.com/package/hexo-# hexo-description)
A plugin for hexo. If post has no description set, will auto use excerpt as description.
Install
npm install hexo-description --save
How work
Workflow:
- Origin post
---
title: Example post
---
## excerpt
- list1
- list2
<!-- more -->
content
- Origin excerpt
## excerpt
- list1
- list2
- Rendered excerpt
<h2>excerpt</h2>
<li>list1</li>
<li>list2</li>
- Finally we set pure excerpt text to description
excerptlist1list2