1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Sergio Durigan Junior 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
Sergio Durigan Junior 106c840726
Implement support for \forgejo
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2024-03-16 16:47:25 -04:00
1 changed files with 4 additions and 1 deletions

View File

@ -68,6 +68,7 @@
(:photostyle "PHOTOSTYLE" nil nil t)
(:gitlab "GITLAB" nil nil parse)
(:github "GITHUB" nil nil parse)
(:forgejo "FORGEJO" nil nil parse)
(:leanpub "LEANPUB" nil nil parse)
(:linkedin "LINKEDIN" nil nil parse)
(:twitter "TWITTER" nil nil parse)
@ -139,7 +140,8 @@ holding export options."
(format "\\name{%s}{%s}\n" first-name last-name))
;; Title
(format "\\position{%s}\n" title)
(when (org-string-nw-p title)
(format "\\position{%s}\n" title))
;; photo
(let* ((photo (plist-get info :photo))
@ -169,6 +171,7 @@ holding export options."
:homepage
:github
:gitlab
:forgejo
:leanpub
:linkedin
:twitter