mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-11-15 02:58:29 +00:00
altacv entry divider skip on last-sibling
This commit is contained in:
parent
849b7aa887
commit
9aa35dd3fc
1 changed files with 4 additions and 3 deletions
|
@ -204,14 +204,15 @@ as a communication channel."
|
||||||
(to-date (org-element-property :TO headline))
|
(to-date (org-element-property :TO headline))
|
||||||
(title (org-export-data (org-element-property :title headline) info))
|
(title (org-export-data (org-element-property :title headline) info))
|
||||||
(employer (org-element-property :EMPLOYER headline))
|
(employer (org-element-property :EMPLOYER headline))
|
||||||
(location (or (org-element-property :LOCATION headline) "")))
|
(location (or (org-element-property :LOCATION headline) ""))
|
||||||
(format "\n\\cvevent{%s}{%s}{%s}{%s}%s\n\\divider"
|
(divider (if (org-export-last-sibling-p headline info) "" "\\divider")))
|
||||||
|
(format "\n\\cvevent{%s}{%s}{%s}{%s}%s\n%s"
|
||||||
title
|
title
|
||||||
employer
|
employer
|
||||||
(concat (org-altacv-timestamp-to-shortdate from-date)
|
(concat (org-altacv-timestamp-to-shortdate from-date)
|
||||||
" -- "
|
" -- "
|
||||||
(org-altacv-timestamp-to-shortdate to-date))
|
(org-altacv-timestamp-to-shortdate to-date))
|
||||||
location contents)))
|
location contents divider)))
|
||||||
|
|
||||||
|
|
||||||
;;;; Headline
|
;;;; Headline
|
||||||
|
|
Loading…
Reference in a new issue