From 959bae2ef65739942947df35f0d14c9abe30b8bf Mon Sep 17 00:00:00 2001 From: "DC\\ Simmons" Date: Fri, 24 Dec 2021 20:40:32 -0600 Subject: [PATCH] Add BitBucket social link (#388) Closes #388 Closes #368 --- awesome-cv.cls | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/awesome-cv.cls b/awesome-cv.cls index 4a4e163..617d4ab 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -297,6 +297,10 @@ % Usage: \gitlab{} \newcommand*{\gitlab}[1]{\def\@gitlab{#1}} +% Defines writer's bitbucket (optional) +% Usage: \bitbucket{} +\newcommand*{\bitbucket}[1]{\def\@bitbucket{#1}} + % Defines writer's stackoverflow profile (optional) % Usage: \stackoverflow{}{} % e.g.https://stackoverflow.com/users/123456/sam-smith @@ -508,6 +512,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}{\faBitbucket\acvHeaderIconSep\@bitbucket}% + }% \ifthenelse{\isundefined{\@stackoverflowid}}% {}% {%