forked from mirrors/Awesome-CV
New \forgejo command
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
This commit is contained in:
parent
4895246507
commit
15b6b40e4a
1 changed files with 10 additions and 0 deletions
|
@ -294,6 +294,10 @@
|
|||
% Usage: \gitlab{<gitlab-nick>}
|
||||
\newcommand*{\gitlab}[1]{\def\@gitlab{#1}}
|
||||
|
||||
% Defines writer's forgejo (optional)
|
||||
% Usage: \forgejo{<gitlab-nick>}
|
||||
\newcommand*{\forgejo}[1]{\def\@forgejo{#1}}
|
||||
|
||||
% Defines writer's bitbucket (optional)
|
||||
% Usage: \bitbucket{<bitbucket-nick>}
|
||||
\newcommand*{\bitbucket}[1]{\def\@bitbucket{#1}}
|
||||
|
@ -517,6 +521,12 @@
|
|||
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
|
||||
\href{https://gitlab.com/\@gitlab}{\faGitlab\acvHeaderIconSep\@gitlab}%
|
||||
}%
|
||||
\ifthenelse{\isundefined{\@forgejo}}%
|
||||
{}%
|
||||
{%
|
||||
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
|
||||
\href{https://git.sergiodj.net/\@forgejo}{\faGitSquare\acvHeaderIconSep\@forgejo}%
|
||||
}%
|
||||
\ifthenelse{\isundefined{\@bitbucket}}%
|
||||
{}%
|
||||
{%
|
||||
|
|
Loading…
Reference in a new issue