diff --git a/ox-hugo-exocortex.el b/ox-hugo-exocortex.el index 5b66667..1396a5b 100644 --- a/ox-hugo-exocortex.el +++ b/ox-hugo-exocortex.el @@ -26,6 +26,7 @@ :config (setq org-hugo-base-dir "~/projects/cosmicflow.space/public/exocortex-hugo-md" ) (setq org-hugo-default-section-directory "./") + (setq org-hugo-front-matter-format "yaml") ) (setq org-roam-directory "~/projects/thought_garden/") @@ -69,7 +70,7 @@ Example usage in Emacs Lisp: (ox-hugo/export-all \"~/org\")." (dolist (org-file org-files) (with-current-buffer (find-file-noselect org-file) (message (format "[ox-hugo/export-all file %d/%d] Exporting %s" cnt num-files org-file)) - (org-hugo-export-wim-to-md :all-subtrees) + (org-hugo-export-wim-to-md org-file) (setq cnt (1+ cnt)))) (message "Done!"))))) (ox-hugo/export-all org-roam-directory)