1.0.3 • Published 1 year ago
hexo-auto-front v1.0.3
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: YYYY-MM-DD@Title.md
.
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