Do not enable menu in front matter by default

If HUGO_MENU_NAME is nil, no menu front matter will be inserted.
master
Kaushal Modi 9 years ago
parent 04c2b74121
commit aed7c48d6f
  1. 2
      ox-hugo.el

@ -127,7 +127,7 @@ directory where all Hugo posts should go by default."
(:hugo-base-dir "HUGO_BASE_DIR" nil nil)
(:hugo-static-images "HUGO_STATIC_IMAGES" nil "images")
(:hugo-code-fence "HUGO_CODE_FENCE" nil "t")
(:hugo-menu-name "HUGO_MENU_NAME" nil "main")
(:hugo-menu-name "HUGO_MENU_NAME" nil nil)
(:hugo-menu-weight "HUGO_MENU_WEIGHT" nil 20)
(:hugo-menu-parent "HUGO_MENU_PARENT" nil nil)))

Loading…
Cancel
Save