diff --git a/org-cv-utils.el b/org-cv-utils.el
index 3f405bb..f1d4cca 100644
--- a/org-cv-utils.el
+++ b/org-cv-utils.el
@@ -28,6 +28,7 @@
;;; Code:
(require 'org)
+(require 'ox)
(require 'org-element)
(defun org-cv-utils-org-timestamp-to-shortdate (date_str)
diff --git a/ox-hugocv.el b/ox-hugocv.el
index 325c8c4..f55a9e7 100644
--- a/ox-hugocv.el
+++ b/ox-hugocv.el
@@ -35,7 +35,7 @@
;;; User-Configurable Variables
(defgroup org-export-hugocv nil
- "Options for exporting Org mode files to Hugo-compatible Markdown"
+ "Options for exporting Org mode files to Hugo-compatible Markdown."
:tag "Org Export Hugo CV"
:group 'org-export
:version "25.3")
@@ -43,8 +43,7 @@
;;; Define Back-End
(org-export-define-derived-backend 'hugocv 'hugo
:options-alist
- '(
- (:mobile "MOBILE" nil nil parse)
+ '((:mobile "MOBILE" nil nil parse)
(:homepage "HOMEPAGE" nil nil parse)
(:address "ADDRESS" nil nil newline)
(:photo "PHOTO" nil nil parse)
@@ -60,15 +59,15 @@
(cl-ecase field
(employer
(-some->> (alist-get 'employer entry)
- (format "%s
")))
+ (format "%s\n{.cv-host}")))
(date
(-some->>
(org-cv-utils--format-time-window (alist-get 'from-date entry) (alist-get 'to-date entry))
- (format "%s")))
+ (format "%s\n{.cv-date}")))
(location
(-some->> (alist-get 'location entry)
(org-string-nw-p)
- (format "%s")))))
+ (format "%s\n{.cv-location}")))))
(defun org-hugocv--format-cventry (headline contents info)
"Format HEADLINE as as cventry.
@@ -78,20 +77,12 @@ as a communication channel."
(loffset (string-to-number (plist-get info :hugo-level-offset))) ;"" -> 0, "0" -> 0, "1" -> 1, ..
(level (org-export-get-relative-level headline info))
(title (concat (make-string (+ loffset level) ?#) " " (alist-get 'title entry))))
- (format "