engineeringresumes: fix templating bugs

This commit is contained in:
Sina Atalay 2024-04-15 01:55:13 +03:00
parent a501b59fba
commit e4fec8763a
3 changed files with 21 additions and 12 deletions

View File

@ -6,17 +6,20 @@
\begin{twocolentry}{ \begin{twocolentry}{
<<entry.date_string>> <<entry.date_string>>
} }
((* else *))
\begin{onecolentry}
((* endif *))
\textbf{<<entry.institution>>}, ((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>>((* if entry.location *)) -- <<entry.location>>((* endif *)) \textbf{<<entry.institution>>}, ((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>>((* if entry.location *)) -- <<entry.location>>((* endif *))
((* if entry.date_string *))
\end{twocolentry} \end{twocolentry}
((* else *))
\end{onecolentry}
((* endif *))
\vspace{<<design.margins.highlights_area.top>>} \vspace{<<design.margins.highlights_area.top>>}
((* endif *))
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
((* if loop.first *)) ((* if loop.first *))
\begin{onecolentry} \begin{onecolentry}
((* if not entry.date_string *))
\textbf{<<entry.institution>>}, ((* if entry.degree *))<<entry.degree>> in ((* endif *))<<entry.area>>((* if entry.location *)) -- <<entry.location>>((* endif *))
((* endif *))
\begin{highlights} \begin{highlights}
((* endif *)) ((* endif *))
\item <<item>> \item <<item>>

View File

@ -6,17 +6,20 @@
\begin{twocolentry}{ \begin{twocolentry}{
<<entry.date_string>> <<entry.date_string>>
} }
((* else *))
\begin{onecolentry}
((* endif *))
\textbf{<<entry.position>>}, <<entry.company>>((* if entry.location *)) -- <<entry.location>>((* endif *)) \textbf{<<entry.position>>}, <<entry.company>>((* if entry.location *)) -- <<entry.location>>((* endif *))
((* if entry.date_string *))
\end{twocolentry} \end{twocolentry}
((* else *))
\end{onecolentry}
((* endif *))
\vspace{<<design.margins.highlights_area.top>>} \vspace{<<design.margins.highlights_area.top>>}
((* endif *))
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
((* if loop.first *)) ((* if loop.first *))
\begin{onecolentry} \begin{onecolentry}
((* if not entry.date_string *))
\textbf{<<entry.position>>}, <<entry.company>>((* if entry.location *)) -- <<entry.location>>((* endif *))
((* endif *))
\begin{highlights} \begin{highlights}
((* endif *)) ((* endif *))
\item <<item>> \item <<item>>

View File

@ -6,17 +6,20 @@
\begin{twocolentry}{ \begin{twocolentry}{
<<entry.date_string>> <<entry.date_string>>
} }
((* else *))
\begin{onecolentry}
((* endif *))
\textbf{<<entry.name>>}((* if entry.location *)) -- <<entry.location>>((* endif *)) \textbf{<<entry.name>>}((* if entry.location *)) -- <<entry.location>>((* endif *))
((* if entry.date_string *))
\end{twocolentry} \end{twocolentry}
((* else *))
\end{onecolentry}
((* endif *))
\vspace{<<design.margins.highlights_area.top>>} \vspace{<<design.margins.highlights_area.top>>}
((* endif *))
((* for item in entry.highlights *)) ((* for item in entry.highlights *))
((* if loop.first *)) ((* if loop.first *))
\begin{onecolentry} \begin{onecolentry}
((* if not entry.date_string *))
\textbf{<<entry.name>>}((* if entry.location *)) -- <<entry.location>>((* endif *))
((* endif *))
\begin{highlights} \begin{highlights}
((* endif *)) ((* endif *))
\item <<item>> \item <<item>>