From 561da90259633d5cccf0b8b0791e82aaab8a4490 Mon Sep 17 00:00:00 2001 From: Javier Palomo Almena Date: Sun, 8 Jan 2017 17:12:50 +0100 Subject: [PATCH] Add Birthday command Signed-off-by: Javier Palomo Almena --- awesome-cv.cls | 10 ++++++++++ 1 file changed, 10 insertions(+) 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}}% {}% {%