How to use ox-hugo

How to use ox-hugo

August 11, 2024

ox-hugo is a emacs plugin for hugo which can help us to use org in hugo.

It will convert .org file to .md file.

Install

We can install it easily, if you use emacs plugin manager elpaca, just use this:

(use-package ox-hugo
  :ensure t
  :defer t
  :custom
  (org-hugo-auto-set-lastmod t "auto update latest time")
  )

use-package will automatically install it, :defer t will make it lazy load.

Config

For configuration of ox-hugo, we need to understand several basic variables.

Last updated on