assemble / generator-assemble

Yeoman generator for Assemble, the static site generator built on Grunt.js. Kickstart new Assemble projects in just a few seconds, including templates, data, layouts, and a theme.
http://assemble.io/docs/Resources.html
114 stars 23 forks source link

Added support for data subfolders #57

Open LaurentGoderre opened 9 years ago

LaurentGoderre commented 9 years ago

This line

https://github.com/assemble/generator-assemble/blob/master/app/templates/Gruntfile.js#L72

could become

data: '<%= config.src %>/data/**/*.{json,yml}',

This would help accommodate the i18n approach out of the box

jonschlinkert commented 9 years ago

noted, I'm working on a new version, I'll see if I can work this into it

LaurentGoderre commented 9 years ago

Also, since the generator uses bower, the bower_components folder should be added to gitignore