mirror of
https://gitlab.com/Titan-C/org-cv.git
synced 2024-12-22 12:39:06 +00:00
mailaddress first in altacv
This commit is contained in:
parent
2b1ba7a2de
commit
a1ca17842e
1 changed files with 4 additions and 4 deletions
|
@ -133,6 +133,10 @@ holding export options."
|
|||
(when (org-string-nw-p photo) (format "\\photo{2.8cm}{%s}\n" photo)))
|
||||
|
||||
"\\personalinfo{\n"
|
||||
;; address
|
||||
(let ((address (org-export-data (plist-get info :address) info)))
|
||||
(when address (format "\\mailaddress{%s}\n" (mapconcat (lambda (line) (format "%s" line))
|
||||
(split-string address "\n") " -- "))))
|
||||
;; email
|
||||
(let ((email (and (plist-get info :with-email)
|
||||
(org-export-data (plist-get info :email) info))))
|
||||
|
@ -143,10 +147,6 @@ holding export options."
|
|||
;; homepage
|
||||
(let ((homepage (org-export-data (plist-get info :homepage) info)))
|
||||
(when homepage (format "\\homepage{%s}\n" homepage)))
|
||||
;; address
|
||||
(let ((address (org-export-data (plist-get info :address) info)))
|
||||
(when address (format "\\mailaddress{%s}\n" (mapconcat (lambda (line) (format "%s" line))
|
||||
(split-string address "\n") " -- "))))
|
||||
(mapconcat (lambda (social-network)
|
||||
(let ((command (org-export-data (plist-get info
|
||||
(car social-network))
|
||||
|
|
Loading…
Reference in a new issue