metalsmith-order-in-filename
A Metalsmith plugin to extract the order and title from filenames
Features
- pulls
order
from filename - creates
title
from filename, this is the rest from filename, and Capitalized Each Word - adds these properties to the file metadata
Installation
$ npm install --save-dev metalsmith-order-in-filename
Usage
Get order and title of article in filenames
1 article title.md2 another article title.md
Configure your build
metalsmith