I use org-mode extensively with org-roam for keeping my knowledge and journals together and working as my brain dump destination. This blog serves kinda the same purpose, so why not to combine these things under Emacs umbrella?
Blogging from Emacs boils down to two options.
TLDR; Hugo can render org file natively, but support of features is quite limited, or use org as source that rendered to markdown. The latter brings issues of content syncing from origin to end result.
I faced the issue of not being able to render index.org as a section from folder.
Apart from this all works. Front matter example is
#+title: My Title #+date: 2023-01-19 #+slug: my-slug #+tags[]: howto, emacs, hugo #+draft: true
Adding properties section in front of org file breaks front matter.
ox-hugo transforms org file to markdown, which, in turn got natively rendered by Hugo.
But this intruduces another problem of keeping everything in sync AKA having "single source of truth".
These are not many, but significant for me. One of the examples is so called Literate programming. The idea is the same as in jupyter notebook, but right inside your editor.
I can execute code right in the middle of the text.
Using Org Mode in Hugo describes how "native" rendering by Hugo works.
My blogging setup with Emacs and Org Mode · Andrey Listopadov example of blog management using export to markdown technique.
At the end feel free to mix and match. You can use both formats, just write one post in Org and another in Markdown.