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