mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-12-25 14:03:34 +00:00
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}
|
||||
\headersocialstyle{
|
||||
\ifthenelse{\isundefined{\@mobile}}
|
||||
{}{\faMobile\ \@mobile}
|
||||
\quad\textbar\quad
|
||||
{}
|
||||
{\faMobile\ \@mobile \quad\textbar\quad}
|
||||
\ifthenelse{\isundefined{\@email}}
|
||||
{}{\href{mailto:\@email}{\faEnvelope\ \@email}}
|
||||
\quad\textbar\quad
|
||||
{}
|
||||
{\href{mailto:\@email}{\faEnvelope\ \@email} \quad\textbar\quad}
|
||||
\ifthenelse{\isundefined{\@homepage}}
|
||||
{}{\href{http://\@homepage}{\faHome\ \@homepage}}
|
||||
\quad\textbar\quad
|
||||
{}
|
||||
{\href{http://\@homepage}{\faHome\ \@homepage} \quad\textbar\quad}
|
||||
\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}}
|
||||
{}{\href{http://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\ \@linkedin}}
|
||||
{}
|
||||
{\href{http://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\ \@linkedin}}
|
||||
} \\
|
||||
\end{center}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue