Skip to content

KiritoKing/hexo-auto-front

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Reference

About

A hexo plugin that automatically generates front-matter from file name

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published