mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-25 23:48:36 +00:00
Add custom LinkedIn ID option
For users whose IDs are not the same as their usernames, modify \linkedin command
This commit is contained in:
parent
7c3fbce42f
commit
e91568c7f2
1 changed files with 4 additions and 4 deletions
|
@ -300,8 +300,8 @@
|
||||||
\newcommand*{\stackoverflow}[2]{\def\@stackoverflowid{#1}\def\@stackoverflowname{#2}}
|
\newcommand*{\stackoverflow}[2]{\def\@stackoverflowid{#1}\def\@stackoverflowname{#2}}
|
||||||
|
|
||||||
% Defines writer's linked-in (optional)
|
% Defines writer's linked-in (optional)
|
||||||
% Usage: \linkedin{<linked-in-nick>}
|
% Usage: \linkedin{<linked-in-nick><linked-in-id>}
|
||||||
\newcommand*{\linkedin}[1]{\def\@linkedin{#1}}
|
\newcommand*{\linkedin}[2]{\def\@linkedindisplay{#1}\def\@linkedinid{#2}}
|
||||||
|
|
||||||
% Usage: \twitter{<twitter handle>}
|
% Usage: \twitter{<twitter handle>}
|
||||||
\newcommand*{\twitter}[1]{\def\@twitter{#1}}
|
\newcommand*{\twitter}[1]{\def\@twitter{#1}}
|
||||||
|
@ -472,11 +472,11 @@
|
||||||
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
|
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
|
||||||
\href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}%
|
\href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}%
|
||||||
}%
|
}%
|
||||||
\ifthenelse{\isundefined{\@linkedin}}%
|
\ifthenelse{\isundefined{\@linkedinid}}%
|
||||||
{}%
|
{}%
|
||||||
{%
|
{%
|
||||||
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
|
\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}}%
|
\ifthenelse{\isundefined{\@twitter}}%
|
||||||
{}%
|
{}%
|
||||||
|
|
Loading…
Reference in a new issue