From c431c7c8b526d2474d501406a2b562b8288aedd7 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Wed, 7 Feb 2024 19:19:25 +0100 Subject: [PATCH] add Orcid support --- rendercv/themes/classic/Header.j2.tex | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/rendercv/themes/classic/Header.j2.tex b/rendercv/themes/classic/Header.j2.tex index f163449..f971cad 100644 --- a/rendercv/themes/classic/Header.j2.tex +++ b/rendercv/themes/classic/Header.j2.tex @@ -1,10 +1,15 @@ +((* set orcid_url = (cv.social_networks|get_an_item_with_a_specific_attribute_value("network", "Orcid")).url *)) ((* if design.show_last_updated_date *)) - \placelastupdatedtext +\placelastupdatedtext ((* endif *)) \begin{header} \fontsize{<>}{<>} + ((* if orcid_url *)) + \hrefWithoutArrow{<>}{\textbf{<>}} + ((* else *)) \textbf{<>} + ((* endif *)) \vspace{<>} @@ -30,14 +35,15 @@ "LinkedIn": "\\faLinkedinIn", "GitHub": "\\faGithub", "Instagram": "\\faInstagram", - "Orcid": "\\faOrcid", "Mastodon": "\\faMastodon", } *)) ((* if cv.social_networks *)) ((* for network in cv.social_networks *)) + ((* if network.network in icon_dictionary *)) \mbox{\hrefWithoutArrow{network.url}{{\small<>}\hspace{0.13cm}<>}} \hspace{0.5cm} + ((* endif *)) ((* endfor *)) ((* endif *)) \end{header}