One minute
Hello World: Using Hugo and Ox-Hugo
The first lines of each org-mode file must be the following preamble:
#+HUGO_BASE_DIR: ~/src/weblog/
#+HUGO_SECTION: posts
Standard org-mode features like TODO and Tags are expected to work.
This is the first post to be exported using ox-hugo and then uploaded (ab)using Git.
Exporting to markdown and then uploading to the server is a simple
C-c C-e H A
followed by
hugo
git add content public
git commit -m "Commit message"
git push origin master
74 Words
2025-06-22 00:00
Read other posts