Installation

Yes, it’s about tinkering Emacs.

  • Org Hugo Section: Directory: post
  • org-hugo-auto-set-lastmod: t
  • You can use SCHEDULED to explicitly set the date for creating the blog entry

How it works?

  1. write in org-mode
  2. export blog by:
    1. export only the subtree: C-c C-e H H (most frequently used)
    2. export all subtree C-c C-e H A
  3. push to Github remote repos
  4. Make sure, todo state is not set to be “todo”
  5. small modfication: C-c C-e H H to replace old post
  6. big modfication: leave a comment in the main blog post