From e4fec8763ae8232da3b1ed33cb49f4d34b307287 Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Mon, 15 Apr 2024 01:55:13 +0300 Subject: [PATCH] engineeringresumes: fix templating bugs --- .../themes/engineeringresumes/EducationEntry.j2.tex | 11 +++++++---- .../themes/engineeringresumes/ExperienceEntry.j2.tex | 11 +++++++---- rendercv/themes/engineeringresumes/NormalEntry.j2.tex | 11 +++++++---- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/rendercv/themes/engineeringresumes/EducationEntry.j2.tex b/rendercv/themes/engineeringresumes/EducationEntry.j2.tex index 9ceb57d..e7aa77f 100644 --- a/rendercv/themes/engineeringresumes/EducationEntry.j2.tex +++ b/rendercv/themes/engineeringresumes/EducationEntry.j2.tex @@ -6,17 +6,20 @@ \begin{twocolentry}{ <> } +((* else *)) +\begin{onecolentry} +((* endif *)) \textbf{<>}, ((* if entry.degree *))<> in ((* endif *))<>((* if entry.location *)) -- <>((* endif *)) +((* if entry.date_string *)) \end{twocolentry} +((* else *)) +\end{onecolentry} +((* endif *)) \vspace{<>} -((* endif *)) ((* for item in entry.highlights *)) ((* if loop.first *)) \begin{onecolentry} - ((* if not entry.date_string *)) - \textbf{<>}, ((* if entry.degree *))<> in ((* endif *))<>((* if entry.location *)) -- <>((* endif *)) - ((* endif *)) \begin{highlights} ((* endif *)) \item <> diff --git a/rendercv/themes/engineeringresumes/ExperienceEntry.j2.tex b/rendercv/themes/engineeringresumes/ExperienceEntry.j2.tex index 1c7578a..ed761df 100644 --- a/rendercv/themes/engineeringresumes/ExperienceEntry.j2.tex +++ b/rendercv/themes/engineeringresumes/ExperienceEntry.j2.tex @@ -6,17 +6,20 @@ \begin{twocolentry}{ <> } +((* else *)) +\begin{onecolentry} +((* endif *)) \textbf{<>}, <>((* if entry.location *)) -- <>((* endif *)) +((* if entry.date_string *)) \end{twocolentry} +((* else *)) +\end{onecolentry} +((* endif *)) \vspace{<>} -((* endif *)) ((* for item in entry.highlights *)) ((* if loop.first *)) \begin{onecolentry} - ((* if not entry.date_string *)) - \textbf{<>}, <>((* if entry.location *)) -- <>((* endif *)) - ((* endif *)) \begin{highlights} ((* endif *)) \item <> diff --git a/rendercv/themes/engineeringresumes/NormalEntry.j2.tex b/rendercv/themes/engineeringresumes/NormalEntry.j2.tex index 8911299..4f27589 100644 --- a/rendercv/themes/engineeringresumes/NormalEntry.j2.tex +++ b/rendercv/themes/engineeringresumes/NormalEntry.j2.tex @@ -6,17 +6,20 @@ \begin{twocolentry}{ <> } +((* else *)) +\begin{onecolentry} +((* endif *)) \textbf{<>}((* if entry.location *)) -- <>((* endif *)) +((* if entry.date_string *)) \end{twocolentry} +((* else *)) +\end{onecolentry} +((* endif *)) \vspace{<>} -((* endif *)) ((* for item in entry.highlights *)) ((* if loop.first *)) \begin{onecolentry} - ((* if not entry.date_string *)) - \textbf{<>}((* if entry.location *)) -- <>((* endif *)) - ((* endif *)) \begin{highlights} ((* endif *)) \item <>