diff --git a/awesome-cv.cls b/awesome-cv.cls index a43cbd7..2ea5b78 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -160,6 +160,8 @@ %------------------------------------------------------------------------------- % Configuration for fonts %------------------------------------------------------------------------------- +% Set the FontAwesome font to be up-to-date. +\newfontfamily\FA[Path=\@fontdir]{FontAwesome} % Set font for header (default is Roboto) \newfontfamily\headerfont[ Path=\@fontdir, @@ -287,6 +289,10 @@ % Usage: \github{} \newcommand*{\github}[1]{\def\@github{#1}} +% Defines writer's gitlab (optional) +% Usage: \gitlab{} +\newcommand*{\gitlab}[1]{\def\@gitlab{#1}} + % Defines writer's stackoverflow profile (optional) % Usage: \stackoverflow{}{} % e.g.https://stackoverflow.com/users/123456/sam-smith @@ -454,6 +460,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% }% + \ifthenelse{\isundefined{\@gitlab}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://gitlab.com/\@gitlab}{\faGitlab\acvHeaderIconSep\@gitlab}% + }% \ifthenelse{\isundefined{\@stackoverflowid}}% {}% {% diff --git a/examples/coverletter.pdf b/examples/coverletter.pdf index db487c7..e8d501a 100644 Binary files a/examples/coverletter.pdf and b/examples/coverletter.pdf differ diff --git a/examples/coverletter.tex b/examples/coverletter.tex index bc4519d..ac55764 100644 --- a/examples/coverletter.tex +++ b/examples/coverletter.tex @@ -62,6 +62,7 @@ \homepage{www.posquit0.com} \github{posquit0} \linkedin{posquit0} +% \gitlab{gitlab-id} % \stackoverflow{SO-id}{SO-name} % \twitter{@twit} % \skype{skype-id} diff --git a/examples/cv.pdf b/examples/cv.pdf index 85983ac..2faa626 100644 Binary files a/examples/cv.pdf and b/examples/cv.pdf differ diff --git a/examples/cv.tex b/examples/cv.tex index a450503..b5c2a94 100644 --- a/examples/cv.tex +++ b/examples/cv.tex @@ -62,6 +62,7 @@ \homepage{www.posquit0.com} \github{posquit0} \linkedin{posquit0} +% \gitlab{gitlab-id} % \stackoverflow{SO-id}{SO-name} % \twitter{@twit} % \skype{skype-id} diff --git a/examples/resume.pdf b/examples/resume.pdf index 23db88b..48556b1 100644 Binary files a/examples/resume.pdf and b/examples/resume.pdf differ diff --git a/examples/resume.tex b/examples/resume.tex index f2dc59a..2c6f6f8 100644 --- a/examples/resume.tex +++ b/examples/resume.tex @@ -62,6 +62,7 @@ \homepage{www.posquit0.com} \github{posquit0} \linkedin{posquit0} +% \gitlab{gitlab-id} % \stackoverflow{SO-id}{SO-name} % \twitter{@twit} % \skype{skype-id}