Hugo, Emacs and Org Mode

This is just outline how I set up this org mode for my blogging. I use Emacs, Org mode and Hugo. Using Org-Mode I find helps in structuring your thoughts and is a powerful tool that has a lot of capabilities.

To set up something similar I recommend following along this blog as it has pretty good instructions on how to set up this blog. My own setup is essentially similar with small variations.

My general workflow for creating a new blog entry:

  1. Write the material
  2. Add the relevant properties in the subtree for blog entry
  3. Export blog from org subtree to markdown (Spacemacs keybindings: SPC e e H H)
  4. Run hugo in the directory
  5. Push changes in the sub-module to the remote repository

Further Resources

  1. An excellent tutorial
  2. Official Ox-Hugo docs