sanx / metalsmith-date-in-filename

11 stars 6 forks source link

Property identifier customization #4

Open almirfilho opened 8 years ago

almirfilho commented 8 years ago

It would be nice to have the possibility to change the property identifier in which the date will be stored in. Something like:

.use(dateInFilename({ property: 'anotherProp' }))

If not specified, defaults to date, as it is right now. What do you guys think about this feature? I can send a pull request =)