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?

I kind of did. I mean, it’s in the name really, isn’t it? Javascript, API’s and Markup. At it’s core that’s, well, Javascript, some kind of AJAXy thing (maybe) and some HTML/CSS combo to deliver a bunch of content to the browser. The ecosystem also includes version control, continuous integration and hosting via a CDN such as Netlify, but ultimately it’s all about those core building blocks of the internet and, in theory, you can get there however you want.

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.

Here you go.

Remarkably painless, easy to get up and running with the simplest learning curve possible – no learning of a static site builder, no esoteric frameworks or Javascript magic to build pages. Just good, old fashioned HTML and CSS. So it’s missing things like lazy loading and content sourcing, but these are all plugin’s I’ve looked at in Gatsby any way.

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!