summaryrefslogtreecommitdiff
path: root/ox-haunt.el
diff options
context:
space:
mode:
Diffstat (limited to 'ox-haunt.el')
-rw-r--r--ox-haunt.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/ox-haunt.el b/ox-haunt.el
index 2d9f9fd..5d42f98 100644
--- a/ox-haunt.el
+++ b/ox-haunt.el
@@ -46,6 +46,7 @@
(template . ox-haunt-template))
:options-alist
'((:tags "TAGS" nil nil)
+ (:haunt-metadata "HAUNT_METADATA" nil nil)
(:haunt-base-dir "HAUNT_BASE_DIR" nil ox-haunt-base-dir)
(:haunt-images-dir "HAUNT_IMAGES_DIR" nil ox-haunt-images-dir)))
@@ -148,6 +149,8 @@ INFO is the current state of the export process, as a plist."
(insert (format "%s: %s\n"
(substring (symbol-name keyword) 1)
(ox-haunt--keyword-as-string info keyword)))))
+ (dolist (p (read (ox-haunt--keyword-as-string info :haunt-metadata)))
+ (insert (format "%s: %s\n" (car p) (cdr p))))
(buffer-string))
"---\n"
;; Output the article contents.