diff --git a/awesome-cv.cls b/awesome-cv.cls index d1c1074..a0596f5 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -285,6 +285,10 @@ % Usage: \homepage{} \newcommand*{\homepage}[1]{\def\@homepage{#1}} +% Defines writer's facebook (optional) +% Usage: \facebook{} +\newcommand*{\facebook}[1]{\def\@facebook{#1}} + % Defines writer's github (optional) % Usage: \github{} \newcommand*{\github}[1]{\def\@github{#1}} @@ -460,6 +464,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% }% + \ifthenelse{\isundefined{\@facebook}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://facebook.com/\@facebook}{\faFacebookSquare\acvHeaderIconSep\@facebook}% + }% \ifthenelse{\isundefined{\@gitlab}}% {}% {%