mirror of https://github.com/eyhc1/rendercv.git
add Orcid support
This commit is contained in:
parent
8b1b290b35
commit
c431c7c8b5
|
@ -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 *))
|
((* if design.show_last_updated_date *))
|
||||||
\placelastupdatedtext
|
\placelastupdatedtext
|
||||||
((* endif *))
|
((* endif *))
|
||||||
|
|
||||||
\begin{header}
|
\begin{header}
|
||||||
\fontsize{<<design.header_font_size>>}{<<design.header_font_size>>}
|
\fontsize{<<design.header_font_size>>}{<<design.header_font_size>>}
|
||||||
|
((* if orcid_url *))
|
||||||
|
\hrefWithoutArrow{<<orcid_url>>}{\textbf{<<cv.name>>}}
|
||||||
|
((* else *))
|
||||||
\textbf{<<cv.name>>}
|
\textbf{<<cv.name>>}
|
||||||
|
((* endif *))
|
||||||
|
|
||||||
\vspace{<<design.margins.header.vertical_between_name_and_connections>>}
|
\vspace{<<design.margins.header.vertical_between_name_and_connections>>}
|
||||||
|
|
||||||
|
@ -30,14 +35,15 @@
|
||||||
"LinkedIn": "\\faLinkedinIn",
|
"LinkedIn": "\\faLinkedinIn",
|
||||||
"GitHub": "\\faGithub",
|
"GitHub": "\\faGithub",
|
||||||
"Instagram": "\\faInstagram",
|
"Instagram": "\\faInstagram",
|
||||||
"Orcid": "\\faOrcid",
|
|
||||||
"Mastodon": "\\faMastodon",
|
"Mastodon": "\\faMastodon",
|
||||||
}
|
}
|
||||||
*))
|
*))
|
||||||
((* if cv.social_networks *))
|
((* if cv.social_networks *))
|
||||||
((* for network in cv.social_networks *))
|
((* for network in cv.social_networks *))
|
||||||
|
((* if network.network in icon_dictionary *))
|
||||||
\mbox{\hrefWithoutArrow{network.url}{{\small<<icon_dictionary[network.network]>>}\hspace{0.13cm}<<network.username>>}}
|
\mbox{\hrefWithoutArrow{network.url}{{\small<<icon_dictionary[network.network]>>}\hspace{0.13cm}<<network.username>>}}
|
||||||
\hspace{0.5cm}
|
\hspace{0.5cm}
|
||||||
|
((* endif *))
|
||||||
((* endfor *))
|
((* endfor *))
|
||||||
((* endif *))
|
((* endif *))
|
||||||
\end{header}
|
\end{header}
|
||||||
|
|
Loading…
Reference in New Issue