From 324ca822425b2c89b5512bc84ae25e3ac807a757 Mon Sep 17 00:00:00 2001 From: Benjamin Herzog Date: Sat, 25 Nov 2017 11:30:34 +0100 Subject: [PATCH] Added link to facebook profile --- awesome-cv.cls | 10 ++++++++++ 1 file changed, 10 insertions(+) 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}}% {}% {%