Re:Show HN: Metalsmith – A pluggable static site generator
by ianstormtaylor on Friday March 07, 2014 @05:04PM
(#7363056)
Hmm yeah that's true. Tough call since that is the front-matter is a 99% case, and the idea of file's being able to have their own metadata is kinda core to the functionality. I wonder if I could just add support for both JSON/YAML by default. Would get annoying if people started asking for more front-matter types thought...
[ Parent
| on HN ]
Re:Show HN: Metalsmith – A pluggable static site generator
by sturadnidge on Saturday March 08, 2014 @05:43AM
(#7364840)
It's cerainly as sane as sane defaults come, but I agree that if the philosophy is 'everything-as-a-plugin' (another excellent choice for this kind of tool) then everything should be a plugin :)
Now to build something with this, I can see a 'dual write' plugin in my immediate future...
Re:Show HN: Metalsmith – A pluggable static site generator
by ianstormtaylor on Saturday March 08, 2014 @04:37PM
(#7366484)
Thought about it a bit more (was actually convinced for a second) but then I realized that that would mean lots of the other plugins would be depending on the YAML/JSON plugins as well. And when you have dependencies between plugins like that things start to get too complicated for the benefits I think.