Awesome
metalsmith-filenames
Metalsmith plugin to add filenames to entries
Installation
$ npm install metalsmith-filenames
Usage
import Metalsmith from "metalsmith"
import filenames from "metalsmith-filenames"
new Metalsmith("./")
.use(
filenames()
)
.build(err => {if (err) {throw err}})