Compare commits

...

2 commits

Author SHA1 Message Date
37cfa7ff64
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>
2024-03-16 16:47:36 -04:00
106c840726
Implement support for \forgejo
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2024-03-16 16:47:25 -04:00

View file

@ -68,6 +68,7 @@
(:photostyle "PHOTOSTYLE" nil nil t) (:photostyle "PHOTOSTYLE" nil nil t)
(:gitlab "GITLAB" nil nil parse) (:gitlab "GITLAB" nil nil parse)
(:github "GITHUB" nil nil parse) (:github "GITHUB" nil nil parse)
(:forgejo "FORGEJO" nil nil parse)
(:leanpub "LEANPUB" nil nil parse) (:leanpub "LEANPUB" nil nil parse)
(:linkedin "LINKEDIN" nil nil parse) (:linkedin "LINKEDIN" nil nil parse)
(:twitter "TWITTER" nil nil parse) (:twitter "TWITTER" nil nil parse)
@ -139,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))
@ -169,6 +171,7 @@ holding export options."
:homepage :homepage
:github :github
:gitlab :gitlab
:forgejo
:leanpub :leanpub
:linkedin :linkedin
:twitter :twitter