After a quick dip into WordPress land in my last post I’m venturing back to the wilds of Jamstack today with what is a quick but thought provoking post.
Did you know that Jamstack isn’t just about static site generators or the latest hot framework?
So I did.
Early last year I put up a few starter templates on GitHub to help me put projects in motion quicker and one of those was called ‘flat_default’. You can check it out here. It’s fairly rudimentary presenting a Gulp workflow that takes a folder of Pug views, a bunch of JS files and some SCSS, allows for rudimentary and hand coded templating (if you’re happy with Pug as a HTML pre-processor!) and has a build command that spits everything out into a /dist folder. That’s everything a Jamstack site needs. So, I thought today, let’s see what Netlify can do with it.
Consider a “simple site”, one that’s a handful of pages, some styles, some images; no dynamic content, nothing fancy – this is where the power of the Jamstack concept comes in. With a straightforward workflow you can pull together the content for this site and host it on Netlify in a matter of minutes. Just point Netlify site at the repository, tell it what build command to run and where it can find the generaqted files.
This is some powerful, game changing stuff.
Feel free to fork the flat_default set up above and let me know if it’s of any use to you!