Closed DanielHeath closed 6 years ago
I can split this up if need be; my branch now has fixes for #107 and #101 .
I've also got it to do hot-template-reloading in development, reduced unnecessary saves (by only updating a page if you've changed its contents), and extracted the JS and CSS into their own files (so they can be cached, and also so that index.tmpl doesn't hit >1000 lines)
@DanielHeath, this is a truly amazing contribution! Thank you so much. I really like your trick of using window.cowyo
to access the variables in the javascript static resources. I actually wanted to do that, but I didn't know how - now I do! Thanks also for teaching me something cool!
While I was doing that I reformatted the template to use somewhat-consistent indentation.
Sorry for the giant diff - I checked all the routes I saw listed to ensure everything still renders right.