remove `!=""` from the templates as it's not required

This commit is contained in:
Sina Atalay 2024-03-31 20:53:07 +02:00
parent 1b35201508
commit e5e3131233
6 changed files with 17 additions and 17 deletions

View File

@ -23,7 +23,7 @@
&
\textbf{<<entry.institution>>}, <<entry.area>>
((* if entry.highlights != "" *))
((* if entry.highlights *))
\vspace{<<design.margins.highlights_area.top>>}
((* endif *))

View File

@ -12,18 +12,18 @@
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>}
<<entry.authors|map("make_it_nolinebreak")|join(", ")>>
((* if entry.doi != "" or entry.journal != "" *))
((* if entry.doi or entry.journal *))
\vspace{<<design.margins.highlights_area.vertical_between_bullet_points>>}
((* endif *))
((* if entry.doi != "" -*))
((* if entry.doi -*))
\href{<<entry.doi_url>>}{<<entry.doi>>}
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*))
((*- if entry.journal != "" -*))
((*- if entry.doi and entry.journal *)) (((* endif -*))
((*- if entry.journal -*))
<<entry.journal>>
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*))
((*- if entry.doi and entry.journal *)))((* endif -*))
&
<<entry.date_string>>
\end{tabularx}

View File

@ -5,13 +5,13 @@
\textbf{<<entry.title>>} -- <<entry.date_string>>
\begin{highlights}
\item <<entry.authors|map("make_it_nolinebreak")|join(", ")>>
((*- if entry.doi != "" and entry.journal != "" *)) \item ((* endif -*))
((*- if entry.doi != "" -*))
((*- if entry.doi and entry.journal *)) \item ((* endif -*))
((*- if entry.doi -*))
\href{<<entry.doi_url>>}{<<entry.doi>>}
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*))
((*- if entry.journal != "" -*))
((*- if entry.doi and entry.journal *)) (((* endif -*))
((*- if entry.journal -*))
<<entry.journal>>
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*))
((*- if entry.doi and entry.journal *)))((* endif -*))
\end{highlights}

View File

@ -1,7 +1,7 @@
\cventry{
((*- if design.show_only_years *))<<-entry.date_string_only_years->>((* else *))<<-entry.date_string->>((* endif -*))
}{\textbf{<<entry.institution>>}}{
((*- if entry.degree != "" *))<<entry.degree>> in ((* endif *))<<entry.area->>
((*- if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area->>
}{
<<-entry.location->>
}{}{}

View File

@ -3,6 +3,6 @@
}{\textbf{<<entry.title>>}}{
<<-entry.journal->>
}{
((*- if entry.doi != "" -*))\href{<<entry.doi_url>>}{<<entry.doi>>}((*- endif -*))
((*- if entry.doi -*))\href{<<entry.doi_url>>}{<<entry.doi>>}((*- endif -*))
}{}{}
\cvline{}{\small <<entry.authors|map("make_it_nolinebreak")|join(", ")>>}

View File

@ -4,14 +4,14 @@
\textit{<<entry.date_string>>}
}
{
((*- if entry.doi != "" -*))
((*- if entry.doi -*))
\small\textit{\href{<<entry.doi_url>>}{<<entry.doi>>}}
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)) (((* endif -*))
((*- if entry.journal != "" -*))
((*- if entry.doi and entry.journal *)) (((* endif -*))
((*- if entry.journal -*))
\small\textit{<<entry.journal>>}
((*- endif -*))
((*- if entry.doi != "" and entry.journal != "" *)))((* endif -*))
((*- if entry.doi and entry.journal *)))((* endif -*))
}
\resumeItemListStart
\resumeItem{}{\raggedright <<entry.authors|map("make_it_nolinebreak")|join(", ")>> \par}