Emacs + Org Mode + Ox-Hugo + Nix = Reproducible Site

I’ve been a happy user of Emacs + Org Mode + Ox-Hugo for a while. I deploy with Sourcehut Pages using a Nix Flake for automated builds. It’s very reliable, but I took a circuitous path and my site source isn’t a great starter example.

So I created a Starter Site template for anyone in the Emacs ecosystem looking for a hassle-free site/blog. Write in org mode, magit commit & push, and you’re live!

Checkout the demo site:
shom.srht.site/ (or repo).

If you have been thinking about joining the System Crafters webring but didn’t have a site, now it should be pretty easy and I’m happy to help you integrate Craftering (powered by Ringfairy).

4 Likes

Thanks, @shom, this is really neat. I’ve been thinking about rebooting my blog on and off for… a long time :smiley: Maybe this is step one.

1 Like

Yes!! Reboot that blog, share stuff, make the web more human, I love it. I hope this helps, even if it just inspires. I was motivated to make this when @BigEatie was considering an Emacs drive blogging workflow. So we’re all just encouraging each other to craft more!

Not when I was looking to create an Emacs driven blogging workflow, I am presently working on it! I’m just working on finishing up my first post, and I’ll make the blog live after that! I’ve been looking at your stuff for ideas and guides on how to make my own, and I’ll especially be looking at the build script you’ve got.

1 Like

Thanks for inspiring, helping and encouraging :grinning:.

I notice some things about your website:

  1. why use toml instead of yaml?
  2. Why are you using a single .org file? Wouldn’t using one per entry be more streamlined?

Thanks again

1 Like