support facebook info on header

This commit is contained in:
Arturo Rinaldi 2017-10-31 17:43:32 +01:00
parent 7d86dde43d
commit dc8bdd7cf0

View file

@ -310,6 +310,10 @@
% Usage: \skype{<skype account>} % Usage: \skype{<skype account>}
\newcommand*{\skype}[1]{\def\@skype{#1}} \newcommand*{\skype}[1]{\def\@skype{#1}}
% Defines writer's facebook(optional)
% Usage: \facebook{<facebook nick>}
\newcommand*{\facebook}[1]{\def\@facebook{#1}}
% Defines writer's reddit (optional) % Defines writer's reddit (optional)
% Usage: \reddit{<reddit account>} % Usage: \reddit{<reddit account>}
\newcommand*{\reddit}[1]{\def\@reddit{#1}} \newcommand*{\reddit}[1]{\def\@reddit{#1}}
@ -490,6 +494,12 @@
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\faSkype\acvHeaderIconSep\@skype% \faSkype\acvHeaderIconSep\@skype%
}% }%
\ifthenelse{\isundefined{\@facebook}}%
{}%
{%
\ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}%
\href{https://www.facebook.com/\@facebook}{\faFacebook\acvHeaderIconSep\@facebook}%
}%
\ifthenelse{\isundefined{\@reddit}}% \ifthenelse{\isundefined{\@reddit}}%
{}% {}%
{% {%