winton / stasis

Static sites made powerful
http://stasis.me
MIT License
679 stars 56 forks source link

Adds autocreate option for slop. #86

Closed filipiz closed 10 years ago

filipiz commented 10 years ago

"Adds autocreate option for slop. Allows user define options for their own needs on controller"

Guys, please take a look at this and see if it "hurts" any principle you might have created for stasis.

I'm in a situation now on which I would like to generate the static files differently passing different option, I want to create a few internationalization variances. With this change I'm proposing I could do:

stasis --locale=pt-BR

And on my controller I can do some logic and use different static files os different strings depending on the locale user passed on the execution.

winton commented 10 years ago

Thanks!