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:
		@@ -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}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user