Add gitlab command

This commit is contained in:
Posquit0.BJ 2016-12-03 15:49:31 +09:00
parent f09555b2b1
commit 0ad94fe74e
7 changed files with 15 additions and 0 deletions

View file

@ -160,6 +160,8 @@
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Configuration for fonts % Configuration for fonts
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% Set the FontAwesome font to be up-to-date.
\newfontfamily\FA[Path=\@fontdir]{FontAwesome}
% Set font for header (default is Roboto) % Set font for header (default is Roboto)
\newfontfamily\headerfont[ \newfontfamily\headerfont[
Path=\@fontdir, Path=\@fontdir,
@ -287,6 +289,10 @@
% Usage: \github{<github-nick>} % Usage: \github{<github-nick>}
\newcommand*{\github}[1]{\def\@github{#1}} \newcommand*{\github}[1]{\def\@github{#1}}
% Defines writer's gitlab (optional)
% Usage: \gitlab{<gitlab-nick>}
\newcommand*{\gitlab}[1]{\def\@gitlab{#1}}
% Defines writer's stackoverflow profile (optional) % Defines writer's stackoverflow profile (optional)
% Usage: \stackoverflow{<so userid>}{<so username>} % Usage: \stackoverflow{<so userid>}{<so username>}
% e.g.https://stackoverflow.com/users/123456/sam-smith % e.g.https://stackoverflow.com/users/123456/sam-smith
@ -454,6 +460,12 @@
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}% \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}}% \ifthenelse{\isundefined{\@stackoverflowid}}%
{}% {}%
{% {%

Binary file not shown.

View file

@ -62,6 +62,7 @@
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
\linkedin{posquit0} \linkedin{posquit0}
% \gitlab{gitlab-id}
% \stackoverflow{SO-id}{SO-name} % \stackoverflow{SO-id}{SO-name}
% \twitter{@twit} % \twitter{@twit}
% \skype{skype-id} % \skype{skype-id}

Binary file not shown.

View file

@ -62,6 +62,7 @@
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
\linkedin{posquit0} \linkedin{posquit0}
% \gitlab{gitlab-id}
% \stackoverflow{SO-id}{SO-name} % \stackoverflow{SO-id}{SO-name}
% \twitter{@twit} % \twitter{@twit}
% \skype{skype-id} % \skype{skype-id}

Binary file not shown.

View file

@ -62,6 +62,7 @@
\homepage{www.posquit0.com} \homepage{www.posquit0.com}
\github{posquit0} \github{posquit0}
\linkedin{posquit0} \linkedin{posquit0}
% \gitlab{gitlab-id}
% \stackoverflow{SO-id}{SO-name} % \stackoverflow{SO-id}{SO-name}
% \twitter{@twit} % \twitter{@twit}
% \skype{skype-id} % \skype{skype-id}