larsonjj / generator-yeogurt

A generator for creating static sites. Helps you harness the power of your favorite tools: Pug or Nunjucks, Gulp, ES6/2015, and much more!
MIT License
543 stars 73 forks source link

Is there a way to use .html instead of .nunjucks #173

Closed Exegetech closed 8 years ago

Exegetech commented 8 years ago

I tried to change the extension of the src files from .nunjucks and .html, also changed the some of the gulpfile related to that. Seems not working. Any ideas?

larsonjj commented 8 years ago

Hi @christiansakai,

Apologies for the late response. If you would like to use the .html extension instead of .nunjucks, you will need to:

Once those things are completed, everything will work as expected.

NOTE: Keep in mind, if you use the sub-generators, they will create .nunjucks files, so will have to rename those files if you use them.

Hope this helps!

Closing out.

netalex commented 6 years ago

i'm wondering, can't that could be set in a general configuration var of sort? does'nt know yeogurt enoigh, but that would help not to have to rememebr changinng subgenerators template generated extension.