Seeing if I set up ox-hugo
auto-export correctly. Yep, though it didn’t apply until I reverted / reloaded this Org buffer.
SITE/.dir-locals.el
looks like this:
(("content-org/"
. ((org-mode . ((eval . (org-hugo-auto-export-mode)))))))
Now ox-hugo
exports the current subtree every time I save.
Saving file /home/random/Sites/rgb-life/content/posts/2022/05/1652372242.md...
Wrote /home/random/Sites/rgb-life/content/posts/2022/05/1652372242.md
Okay cool. Anyways, back to work.