Your blog probably doesn’t need a static site generator
1–10 of 22 posts
Re: Your blog probably doesn’t need a static site generator
#2Every approach has advantages and disadvantages, but for me, for most of my sites, coming back to plain HTML has truly been a joy.
Re: Your blog probably doesn’t need a static site generator
#3Interesting! I followed pretty much the exact same trajectory on my sites. I started a couple of decades ago with handcrafted HTML, then wrote a couple of my own CMSes, then moved to WordPress, and now I'm back to handcrafted HTML. Every approach has advantages and disadvantages, but for me, for most of my sites, coming back to plain HTML has truly been a joy.
Re: Your blog probably doesn’t need a static site generator
#4Interesting! I followed pretty much the exact same trajectory on my sites. I started a couple of decades ago with handcrafted HTML, then wrote a couple of my own CMSes, then moved to WordPress, and now I'm back to handcrafted HTML. Every approach has advantages and disadvantages, but for me, for most of my sites, coming back to plain HTML has truly been a joy.
You could also do plain html but using some good templating language like handlebars or pug, and do on the fly compilation with a few scripts in your preferred language.
If these sites needs to be more complex, then I'll likely use a static site generator of some sort. I have two sites that are more complex still, and I use WordPress for them.
Re: Your blog probably doesn’t need a static site generator
#5Earlier quoted context omitted.
You could also do plain html but using some good templating language like handlebars or pug, and do on the fly compilation with a few scripts in your preferred language.
Yes indeed -- and I've played with that before. There's nothing wrong with doing that, but for my needs, just going with plain HTML is easiest. If these sites needs to be more complex, then I'll likely use a static site generator of some sort. I have two sites that are more complex still, and I use WordPress for them.
Re: Your blog probably doesn’t need a static site generator
#6Re: Your blog probably doesn’t need a static site generator
#7If it is a blog though, please make sure to create XML feed (RSS or Atom), I don't consider sites that don't have it as blogs. Again even a simple templating language can do this, you could even run pug in cli mode and produce valid RSS feed.
Re: Your blog probably doesn’t need a static site generator
#8Re: Your blog probably doesn’t need a static site generator
#9Re: Your blog probably doesn’t need a static site generator
#10How does one handle consistent navigation though? If you make a change it sucks having to update that on every page IMHO.
However, if you really want consistent elements on every page, you could probably do the job with m4 and a makefile. You can party like it's 1998[1].
[1] https://web.archive.org/web/20190813130112/https://www.linux...