ox-hugo frontmatter set to yaml
This commit is contained in:
parent
2d160adc9a
commit
9d309428fa
1 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@
|
||||||
:config
|
:config
|
||||||
(setq org-hugo-base-dir "~/projects/cosmicflow.space/public/exocortex-hugo-md" )
|
(setq org-hugo-base-dir "~/projects/cosmicflow.space/public/exocortex-hugo-md" )
|
||||||
(setq org-hugo-default-section-directory "./")
|
(setq org-hugo-default-section-directory "./")
|
||||||
|
(setq org-hugo-front-matter-format "yaml")
|
||||||
)
|
)
|
||||||
(setq org-roam-directory "~/projects/thought_garden/")
|
(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)
|
(dolist (org-file org-files)
|
||||||
(with-current-buffer (find-file-noselect org-file)
|
(with-current-buffer (find-file-noselect org-file)
|
||||||
(message (format "[ox-hugo/export-all file %d/%d] Exporting %s" cnt num-files 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))))
|
(setq cnt (1+ cnt))))
|
||||||
(message "Done!")))))
|
(message "Done!")))))
|
||||||
(ox-hugo/export-all org-roam-directory)
|
(ox-hugo/export-all org-roam-directory)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue