Up until the last commit, the site was being written in Org Mode, exported using ox-hugo, and Hugo was invoked manually to generate the html all locally. The generated public
folder was what was being pushed to SourceHut for the deployment. This will be first post which will only commit the actual content in org format only and the full CI/CD will happen on SourceHut.
Using org-publish
I’ll be following along with the System Crafters’ Publishing Website with Org Mode to take full advantage of org-publish
and configure multiple outputs (WWW and Gemini). As of the now the following configuration is invoking the correct export function through org-publish but ox-hugo isn’t finding the Hugo sub-trees.
|
|
RESULTS
|
|
Using hugo-export directly
In order to check sanity and solve the issue, I exported directly with org-hugo-export-wim-to-md
which is straightforward since I’ve opted for a single org-content file and it worked as expected. So this is the configuration that is currently building the site:
|
|
I would like to get the org-publish
route sorted out so I can publish to the Hugo site and the Gemini capsule with a single commit.