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>> \textbf{<<entry.institution>>}, <<entry.area>>
((* if entry.highlights != "" *)) ((* if entry.highlights *))
\vspace{<<design.margins.highlights_area.top>>} \vspace{<<design.margins.highlights_area.top>>}
((* endif *)) ((* endif *))

View File

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

View File

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

View File

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

View File

@ -3,6 +3,6 @@
}{\textbf{<<entry.title>>}}{ }{\textbf{<<entry.title>>}}{
<<-entry.journal->> <<-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(", ")>>} \cvline{}{\small <<entry.authors|map("make_it_nolinebreak")|join(", ")>>}

View File

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