Compare commits

..

4 commits

Author SHA1 Message Date
5f489cf625
Use https when linking homepage
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2024-03-16 16:41:49 -04:00
15b6b40e4a
New \forgejo command
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2024-03-16 16:41:40 -04:00
4895246507
Don't use hidelinks on hyperref; color links instead
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2024-03-16 16:41:06 -04:00
ec14551fcd
Use x11names for xcolor
Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net>
2024-03-16 16:40:52 -04:00

View file

@ -57,7 +57,7 @@
% Needed to make header & footer efficiently % Needed to make header & footer efficiently
\RequirePackage{fancyhdr} \RequirePackage{fancyhdr}
% Needed to manage colors % Needed to manage colors
\RequirePackage{xcolor} \RequirePackage[x11names]{xcolor}
% Needed to use \ifxetex-\else-\fi statement % Needed to use \ifxetex-\else-\fi statement
\RequirePackage{ifxetex} \RequirePackage{ifxetex}
% Needed to use \if-\then-\else statement % Needed to use \if-\then-\else statement
@ -83,8 +83,10 @@
% Needed to deal a paragraphs % Needed to deal a paragraphs
\RequirePackage{parskip} \RequirePackage{parskip}
% Needed to deal hyperlink % Needed to deal hyperlink
\RequirePackage[hidelinks,unicode,pdfpagelabels=false]{hyperref} \RequirePackage[unicode,pdfpagelabels=false]{hyperref}
\hypersetup{% \hypersetup{%
colorlinks=true,
urlcolor=DodgerBlue4,
pdftitle={}, pdftitle={},
pdfauthor={}, pdfauthor={},
pdfsubject={}, pdfsubject={},
@ -292,6 +294,10 @@
% Usage: \gitlab{<gitlab-nick>} % Usage: \gitlab{<gitlab-nick>}
\newcommand*{\gitlab}[1]{\def\@gitlab{#1}} \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) % Defines writer's bitbucket (optional)
% Usage: \bitbucket{<bitbucket-nick>} % Usage: \bitbucket{<bitbucket-nick>}
\newcommand*{\bitbucket}[1]{\def\@bitbucket{#1}} \newcommand*{\bitbucket}[1]{\def\@bitbucket{#1}}
@ -501,7 +507,7 @@
{}% {}%
{% {%
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}% \href{https://\@homepage}{\faHome\acvHeaderIconSep\@homepage}%
}% }%
\ifthenelse{\isundefined{\@github}}% \ifthenelse{\isundefined{\@github}}%
{}% {}%
@ -515,6 +521,12 @@
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\href{https://gitlab.com/\@gitlab}{\faGitlab\acvHeaderIconSep\@gitlab}% \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}}% \ifthenelse{\isundefined{\@bitbucket}}%
{}% {}%
{% {%