diff --git a/awesome-cv.cls b/awesome-cv.cls index 961410e..da3d762 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -342,6 +342,10 @@ % Usage: \kaggle{} \newcommand*{\kaggle}[1]{\def\@kaggle{#1}} +% Defines writer's Hackerrank (optional) +% Usage: \hackerrank{} +\newcommand*{\hackerrank}[1]{\def\@hackerrank{#1}} + % Defines writer's google scholar profile (optional) % Usage: \googlescholar{}{} % e.g.https://scholar.google.co.uk/citations?user=wpZDx1cAAAAJ @@ -583,6 +587,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://kaggle.com/\@kaggle}{\faKaggle\acvHeaderIconSep\@kaggle}% }% + \ifthenelse{\isundefined{\@hackerrank}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://www.hackerrank.com/\@hackerrank}{\faHackerrank\acvHeaderIconSep\@hackerrank}% + }% \ifthenelse{\isundefined{\@googlescholarid}}% {}% {% diff --git a/examples/coverletter.tex b/examples/coverletter.tex index c2d165b..2fd6003 100644 --- a/examples/coverletter.tex +++ b/examples/coverletter.tex @@ -68,6 +68,7 @@ % \reddit{reddit-id} % \medium{madium-id} % \kaggle{kaggle-id} +% \hackerrank{hackerrank-id} % \googlescholar{googlescholar-id}{name-to-display} %% \firstname and \lastname will be used % \googlescholar{googlescholar-id}{} diff --git a/examples/cv.tex b/examples/cv.tex index d055f79..f7cdd98 100644 --- a/examples/cv.tex +++ b/examples/cv.tex @@ -68,6 +68,7 @@ % \reddit{reddit-id} % \medium{medium-id} % \kaggle{kaggle-id} +% \hackerrank{hackerrank-id} % \googlescholar{googlescholar-id}{name-to-display} %% \firstname and \lastname will be used % \googlescholar{googlescholar-id}{} diff --git a/examples/resume.tex b/examples/resume.tex index 415dcea..de75064 100644 --- a/examples/resume.tex +++ b/examples/resume.tex @@ -68,6 +68,7 @@ % \reddit{reddit-id} % \medium{madium-id} % \kaggle{kaggle-id} +% \hackerrank{hackerrank-id} % \googlescholar{googlescholar-id}{name-to-display} %% \firstname and \lastname will be used % \googlescholar{googlescholar-id}{}