Nick Diego from Igalia adviced me to keep working on my notes, and look into digital gardening.
The objective is to archive a unified workflow for my local notes with Emacs’ org-mode and org-roam, allowing to decide which notes I want to publish, and deploy it in a semi automatic way.
In addition to that, it would be interesting to integrate this same workflow with my blog.
My initial idea was to run it all from Hugo like my personal blog, and search for a theme that would allow for a less linear list of posts, adding a searchbar and perhaps a directory structure for tags etc.
I also thought about writing some sort of script that would remove the header from the org-roam files and add the basic Hugo header, but turns out that someone already thought about that and ox-hugo is a thing.
This package exports org-mode files to a selected destination in the hugo format, and I just had to add a couple of things in my org-roam-capturetemplates
to add a noexport
by default, and the date parameters like Hugo likes them.
With a bit more search it was easy to find that there are specific tools to create a digital garden that work a lot better than Hugo, and are specifically designed for that. And even better, I found a post from someone with almost exactly the same setup that I was thinking about, this doensn’t happen often, so it’s worth sharing it Publish org-roam notes to personal wiki using ox-hugo and Quartz.
My initial setup is almost identical to the one described in the post, using Quartz.