diff --git a/awesome-cv.cls b/awesome-cv.cls index 2ea5b78..985f406 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -318,6 +318,10 @@ % Usage: \xing{} \newcommand*{\xing}[1]{\def\@xing{#1}} +% Defines writer's date of birth (optional) +% Usage: \birthday{} +\newcommand*{\birthday}[1]{\def\@birthday{#1}} + % Defines writer's twitter (optional) % Defines writer's extra informations (optional) % Usage: \extrainfo{} @@ -502,6 +506,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing} }% + \ifthenelse{\isundefined{\@birthday}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \faBirthdayCake\acvHeaderIconSep\@birthday% + }% \ifthenelse{\isundefined{\@extrainfo}}% {}% {%