forked from mirrors/Awesome-CV
Dont print the pipe for non-used social informations
When I am not using one of the social informations (e.g. mobile), the pipe sign (|) will be print anyway. So I get something like this | mail@mail.org | . With this patch the pipe will only print when the social information is actually used.
This commit is contained in:
parent
9bcb009022
commit
1cbc09c75a
1 changed files with 10 additions and 9 deletions
|
@ -313,19 +313,20 @@
|
||||||
\vspace{-0.5mm}
|
\vspace{-0.5mm}
|
||||||
\headersocialstyle{
|
\headersocialstyle{
|
||||||
\ifthenelse{\isundefined{\@mobile}}
|
\ifthenelse{\isundefined{\@mobile}}
|
||||||
{}{\faMobile\ \@mobile}
|
{}
|
||||||
\quad\textbar\quad
|
{\faMobile\ \@mobile \quad\textbar\quad}
|
||||||
\ifthenelse{\isundefined{\@email}}
|
\ifthenelse{\isundefined{\@email}}
|
||||||
{}{\href{mailto:\@email}{\faEnvelope\ \@email}}
|
{}
|
||||||
\quad\textbar\quad
|
{\href{mailto:\@email}{\faEnvelope\ \@email} \quad\textbar\quad}
|
||||||
\ifthenelse{\isundefined{\@homepage}}
|
\ifthenelse{\isundefined{\@homepage}}
|
||||||
{}{\href{http://\@homepage}{\faHome\ \@homepage}}
|
{}
|
||||||
\quad\textbar\quad
|
{\href{http://\@homepage}{\faHome\ \@homepage} \quad\textbar\quad}
|
||||||
\ifthenelse{\isundefined{\@github}}
|
\ifthenelse{\isundefined{\@github}}
|
||||||
{}{\href{http://github.com/\@github}{\faGithubSquare\ \@github}}
|
{}
|
||||||
\quad\textbar\quad
|
{\href{http://github.com/\@github}{\faGithubSquare\ \@github} \quad\textbar\quad}
|
||||||
\ifthenelse{\isundefined{\@linkedin}}
|
\ifthenelse{\isundefined{\@linkedin}}
|
||||||
{}{\href{http://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\ \@linkedin}}
|
{}
|
||||||
|
{\href{http://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\ \@linkedin}}
|
||||||
} \\
|
} \\
|
||||||
\end{center}
|
\end{center}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue