I’ve had projects in the last year or so that I wasn’t using WordPress but I love the Sage workflow so I took Sage and broke it out of the confines of WordPress. I named it Sage Starter for static HTML coding.
It should be up to date with Sage’s current version, I have also updated the packages to current versions and probably needs a little more loving to get rid of unneeded code for WordPress as well as getting rid of old Git commits but I plan on keeping it around for a while since it’s a great resource.
I’ve added support for SVG and Critical CSS as well, although Critical needs a little work.
Please feel free to contribute if you have any updates that should be made. I’ve tested as much as I can to make it work right.
I like that idea—I did a similar thing myself. I like that you’ve added SVG and Critical CSS, and how it’s up-to-date with Sage. Mine is not, but I added a PHP server that usually works. I’m looking forward to trying yours out, and I hope I can contribute!
I hadn’t considered adding templating into this so that I can keep it agnostic.
EDIT: That said, @vitaligent, I’d be interested to see a fork of the repo with your implementation of Handlebars.js. I do like the idea and maybe it could live in another branch off the main?
EDIT 5/5: In doing some research on Handlebars.js, it’s completely client-side scripting which in a dev environment doesn’t really worry me. I really like that it’s 100% javascript based, that’s great b/c no additional languages need to be installed. But, considering we’re already running on top of Node.js, I think it would make just as much sense to either use server-side templating in case javascript is limited or slow, or couple this with some server-side templating using Node.js. I just don’t know what direction would be good to go. I think this is a big reason I didn’t consider templating to begin with.
I’ve been using a toolkit generator called Fabricator to do something similar to this, it uses handlebars for templating before it builds static pages in case you wanted to check out their implementation.