Skip to content

Put name as hyperref into Xing/LinkedIn instead of the profile-identification to the profile page #442

@CodingChristoph

Description

@CodingChristoph

Hi,

just want to add a little thing here:

When using i.e. \xing{} or \linkedin{} it had as an argument the specific profile identification on the corresponding page (Xing, or LinkedIn). Simply copying what was already done for googlescholar ID in the awesome-cv.cls gives the name with the Xing/LinkedIn symbol as a hyperlink to the profile, instead of the profile-identification of the corresponding profile.

Just added (You can do this for each other linked profile, that you want):

\newcommand*{\linkedin}[2]{%
  \def\@linkedinid{#1}%
  \ifthenelse{\equal{#2}{}}{%
    \def\@linkedinname{\@firstname~\@lastname}%
  }{%
    \def\@linkedinname{#2}%
  }%
}
\ifthenelse{\isundefined{\@linkedinid}}%
        {}%
        {%
          \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
          \href{https://www.linkedin.com/in/\@linkedinid}{\faLinkedinSquare\acvHeaderIconSep\@linkedinname}%
        }%

linkedinid is the your former used profile-specification, that is leading to your profile on LinkedIn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions