inlight-media / www-foundation

0 stars 0 forks source link

Don't hardcode organisation of jade templates #18

Open willmcclellan opened 9 years ago

willmcclellan commented 9 years ago

I'm not a big fan of this type of thing: https://github.com/inlight-media/www-foundation/blob/master/www/tasks/jade.js

… where we hard code the organisation of templates. This is kind of related to #17 in that I don’t think we should have to dictate our structure of files in gulp tasks. Would it not be better to just prefix all jade templates that should be compiled but not copied to dist with an underscore?

Then we can follow the feature folder pattern too!