From dc8bdd7cf0bc006767641232ba5c1f9e5a9665db Mon Sep 17 00:00:00 2001 From: Arturo Rinaldi Date: Tue, 31 Oct 2017 17:43:32 +0100 Subject: [PATCH] support facebook info on header --- awesome-cv.cls | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/awesome-cv.cls b/awesome-cv.cls index d1c1074..e944027 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -310,6 +310,10 @@ % Usage: \skype{} \newcommand*{\skype}[1]{\def\@skype{#1}} +% Defines writer's facebook(optional) +% Usage: \facebook{} +\newcommand*{\facebook}[1]{\def\@facebook{#1}} + % Defines writer's reddit (optional) % Usage: \reddit{} \newcommand*{\reddit}[1]{\def\@reddit{#1}} @@ -490,6 +494,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \faSkype\acvHeaderIconSep\@skype% }% + \ifthenelse{\isundefined{\@facebook}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://www.facebook.com/\@facebook}{\faFacebook\acvHeaderIconSep\@facebook}% + }% \ifthenelse{\isundefined{\@reddit}}% {}% {%