diff --git a/awesome-cv.cls b/awesome-cv.cls index d1c1074..cf25c9d 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -300,8 +300,8 @@ \newcommand*{\stackoverflow}[2]{\def\@stackoverflowid{#1}\def\@stackoverflowname{#2}} % Defines writer's linked-in (optional) -% Usage: \linkedin{} -\newcommand*{\linkedin}[1]{\def\@linkedin{#1}} +% Usage: \linkedin{} +\newcommand*{\linkedin}[2]{\def\@linkedindisplay{#1}\def\@linkedinid{#2}} % Usage: \twitter{} \newcommand*{\twitter}[1]{\def\@twitter{#1}} @@ -472,11 +472,11 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}% }% - \ifthenelse{\isundefined{\@linkedin}}% + \ifthenelse{\isundefined{\@linkedinid}}% {}% {% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% - \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvHeaderIconSep\@linkedin}% + \href{https://www.linkedin.com/in/\@linkedinid}{\faLinkedinSquare\acvHeaderIconSep\@linkedindisplay}% }% \ifthenelse{\isundefined{\@twitter}}% {}%