hexo-auto-front
v1.0.3
Published
Automatically read front-matter info from file name
Downloads
3
Readme
hexo-auto-front-matter
This plugin enables hexo to generate title
and date
front-matter from file name.
Intro
The plugin works very simply. It just parse the file name and set the front-matter.
File names must follow strict formats like: [email protected]
.
If the file name is in right format, the plugin will automatically extract information and generate front-matter. Otherwise, it will use file name as title
and today's date as date
.
Install
npm install hexo-auto-front --save
OR
yarn add hexo-enhancer