diff --git a/rendercv/themes/classic/EducationEntry.j2.tex b/rendercv/themes/classic/EducationEntry.j2.tex index 15e42cc..25d0d78 100644 --- a/rendercv/themes/classic/EducationEntry.j2.tex +++ b/rendercv/themes/classic/EducationEntry.j2.tex @@ -23,7 +23,7 @@ & \textbf{<>}, <> -((* if entry.highlights != "" *)) +((* if entry.highlights *)) \vspace{<>} ((* endif *)) diff --git a/rendercv/themes/classic/PublicationEntry.j2.tex b/rendercv/themes/classic/PublicationEntry.j2.tex index 4862e85..f2204d6 100644 --- a/rendercv/themes/classic/PublicationEntry.j2.tex +++ b/rendercv/themes/classic/PublicationEntry.j2.tex @@ -12,18 +12,18 @@ \vspace{<>} <> - ((* if entry.doi != "" or entry.journal != "" *)) + ((* if entry.doi or entry.journal *)) \vspace{<>} ((* endif *)) - ((* if entry.doi != "" -*)) + ((* if entry.doi -*)) \href{<>}{<>} ((*- endif -*)) - ((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*)) - ((*- if entry.journal != "" -*)) + ((*- if entry.doi and entry.journal *)) (((* endif -*)) + ((*- if entry.journal -*)) <> ((*- endif -*)) - ((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*)) + ((*- if entry.doi and entry.journal *)))((* endif -*)) & <> \end{tabularx} diff --git a/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex b/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex index b27aea1..4276ec6 100644 --- a/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex +++ b/rendercv/themes/engineeringresumes/PublicationEntry.j2.tex @@ -5,13 +5,13 @@ \textbf{<>} -- <> \begin{highlights} \item <> - ((*- if entry.doi != "" and entry.journal != "" *)) \item ((* endif -*)) - ((*- if entry.doi != "" -*)) + ((*- if entry.doi and entry.journal *)) \item ((* endif -*)) + ((*- if entry.doi -*)) \href{<>}{<>} ((*- endif -*)) - ((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*)) - ((*- if entry.journal != "" -*)) + ((*- if entry.doi and entry.journal *)) (((* endif -*)) + ((*- if entry.journal -*)) <> ((*- endif -*)) - ((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*)) + ((*- if entry.doi and entry.journal *)))((* endif -*)) \end{highlights} diff --git a/rendercv/themes/moderncv/EducationEntry.j2.tex b/rendercv/themes/moderncv/EducationEntry.j2.tex index 2ba4c34..da0bb9b 100644 --- a/rendercv/themes/moderncv/EducationEntry.j2.tex +++ b/rendercv/themes/moderncv/EducationEntry.j2.tex @@ -1,7 +1,7 @@ \cventry{ ((*- if design.show_only_years *))<<-entry.date_string_only_years->>((* else *))<<-entry.date_string->>((* endif -*)) }{\textbf{<>}}{ -((*- if entry.degree != "" *))<> in ((* endif *))<> +((*- if entry.degree *))<> in ((* endif *))<> }{ <<-entry.location->> }{}{} diff --git a/rendercv/themes/moderncv/PublicationEntry.j2.tex b/rendercv/themes/moderncv/PublicationEntry.j2.tex index 90ba510..72a2c4c 100644 --- a/rendercv/themes/moderncv/PublicationEntry.j2.tex +++ b/rendercv/themes/moderncv/PublicationEntry.j2.tex @@ -3,6 +3,6 @@ }{\textbf{<>}}{ <<-entry.journal->> }{ -((*- if entry.doi != "" -*))\href{<>}{<>}((*- endif -*)) +((*- if entry.doi -*))\href{<>}{<>}((*- endif -*)) }{}{} \cvline{}{\small <>} \ No newline at end of file diff --git a/rendercv/themes/sb2nov/PublicationEntry.j2.tex b/rendercv/themes/sb2nov/PublicationEntry.j2.tex index 375612c..e13538d 100644 --- a/rendercv/themes/sb2nov/PublicationEntry.j2.tex +++ b/rendercv/themes/sb2nov/PublicationEntry.j2.tex @@ -4,14 +4,14 @@ \textit{<>} } { - ((*- if entry.doi != "" -*)) + ((*- if entry.doi -*)) \small\textit{\href{<>}{<>}} ((*- endif -*)) - ((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*)) - ((*- if entry.journal != "" -*)) + ((*- if entry.doi and entry.journal *)) (((* endif -*)) + ((*- if entry.journal -*)) \small\textit{<>} ((*- endif -*)) - ((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*)) + ((*- if entry.doi and entry.journal *)))((* endif -*)) } \resumeItemListStart \resumeItem{}{\raggedright <> \par}