forked from mirrors/org-cv
Only generate \position when #+TITLE is not empty
TODO: This still doesn't work the way I want for some reason. Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
This commit is contained in:
parent
106c840726
commit
37cfa7ff64
1 changed files with 2 additions and 1 deletions
|
@ -140,7 +140,8 @@ holding export options."
|
||||||
(format "\\name{%s}{%s}\n" first-name last-name))
|
(format "\\name{%s}{%s}\n" first-name last-name))
|
||||||
|
|
||||||
;; Title
|
;; Title
|
||||||
(format "\\position{%s}\n" title)
|
(when (org-string-nw-p title)
|
||||||
|
(format "\\position{%s}\n" title))
|
||||||
|
|
||||||
;; photo
|
;; photo
|
||||||
(let* ((photo (plist-get info :photo))
|
(let* ((photo (plist-get info :photo))
|
||||||
|
|
Loading…
Reference in a new issue