Add gitlab command
This commit is contained in:
		@@ -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{<github-nick>}
 | 
			
		||||
\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)
 | 
			
		||||
% Usage: \stackoverflow{<so userid>}{<so username>}
 | 
			
		||||
%   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}}%
 | 
			
		||||
        {}%
 | 
			
		||||
        {%
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user