crempp / mdweb

Markdown based web site framework.
http://mdweb.chadrempp.com/
MIT License
11 stars 1 forks source link

Add "environment" to settings and context #69

Open crempp opened 6 years ago

crempp commented 6 years ago

I found cases where you'd like per-environment behavior. For example, I want compressed Javascript in production and uncompressed in development.

Add the ability to define environment through the site settings (and thus through command line args) and expose that to the application and templates.