From 701af3675215644cf4478a95c4dcc15514d5b0fc Mon Sep 17 00:00:00 2001 From: Luis Silva Date: Sat, 13 Jan 2018 00:37:38 +0000 Subject: [PATCH] Add support to Bitbucket link in the header. --- awesome-cv.cls | 10 ++++++++++ 1 file changed, 10 insertions(+) mode change 100644 => 100755 awesome-cv.cls diff --git a/awesome-cv.cls b/awesome-cv.cls old mode 100644 new mode 100755 index d1c1074..d2db8e8 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -293,6 +293,10 @@ % Usage: \gitlab{} \newcommand*{\gitlab}[1]{\def\@gitlab{#1}} +% Defines writer's bitbucket (optional) +% Usage: \bithub{} +\newcommand*{\bitbucket}[1]{\def\@bitbucket{#1}} + % Defines writer's stackoverflow profile (optional) % Usage: \stackoverflow{}{} % e.g.https://stackoverflow.com/users/123456/sam-smith @@ -466,6 +470,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://gitlab.com/\@gitlab}{\faGitlab\acvHeaderIconSep\@gitlab}% }% + \ifthenelse{\isundefined{\@bitbucket}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://bitbucket.com/\@bitbucket}{\faBitbucketSquare\acvHeaderIconSep\@bitbucket}% + }% \ifthenelse{\isundefined{\@stackoverflowid}}% {}% {%