From 73280f307030b40386c25459d46a4ccda3a8b64e Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Sun, 22 Oct 2023 05:56:23 +0200 Subject: [PATCH] fix awesome tags --- ox-awesomecv.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ox-awesomecv.el b/ox-awesomecv.el index 644446e..f257d84 100644 --- a/ox-awesomecv.el +++ b/ox-awesomecv.el @@ -231,7 +231,11 @@ holding export options." "Format HEADLINE as as cventry. CONTENTS holds the contents of the headline. INFO is a plist used as a communication channel." - (let* ((entrytype (org-element-property :CV_ENV headline)) + (let* ((entrytype + (cl-find-if (lambda (s) (or (string-prefix-p "cv" s) + (string-prefix-p "letter" s))) + (cons (org-element-property :CV_ENV headline) + (org-export-get-tags headline info)))) (title (org-export-data (org-element-property :title headline) info)) (date (org-element-property :DATE headline)) (from-date (or (org-element-property :FROM headline) date))