I have a lot of notes in separate files that I'd like to put on a hugo website using ox-hugo. However I can't seem to batch export the files.
- using dired+ to execute
emacs --batch --eval "(progn (require 'org) (require 'ox-hugo) (org-hugo-export-wim-to-md))" "$@".
In both cases I get the message
The entire file is attempted to be exported, but it is missing the #+title keyword
which makes no sense to me since there are
#+TITLE: title lines in each of the files and they export fine when visiting them in an emacs buffer using the same function.
Any help as to what I'm doing wrong is appreciated.