CV/template/cv.tex.tmpl
Dan Anglin 7ca819fa04
refactor: add structure for start and end dates
The start and end dates for employment and
education experiences were free-form strings.

This commit changes adds a Date struct with Year and Month
variables and declares the Duration field as a type Date.

The TEX template is updated to reflect the change. The resulting
PDF will not change.
2020-02-07 18:46:21 +00:00

54 lines
1.8 KiB
Cheetah

<<- /* Prepend the setup area */ ->>
<< template "cv_setup.tex.tmpl" .>>
\starttext
\starttitleAndContact
\cvtitle{<<.FirstName>> <<.LastName>>}{<<.JobTitle>>}
\titleAndContact
{\bf Email:} <<.Contact.Email>>\blank[none]
<<if .Contact.Phone>>{\bf Phone:} <<.Contact.Phone>>\blank[none]<<end>>
{\bf Location:} <<.Contact.Location>>\blank[medium]
{\bf GitLab:} \goto{<<.Links.GitLab>>}[url(https://<<.Links.GitLab>>)]\blank[none]
{\bf GitHub:} \goto{<<.Links.GitHub>>}[url(https://<<.Links.GitHub>>)]\blank[none]
\stoptitleAndContact
\section{SUMMARY}
<<join .Summary>>
\section{SKILLS SUMMARY}
\starttabulate[|w(0.3\textwidth)lB|lp(0.7\textwidth)|]
<<$lenTech := len .Technologies>>
<<range $i, $tech := .Technologies>>
<<$lenValues := len $tech.Values>>
\NC <<$tech.Category>> \NC <<range $j, $val := $tech.Values>><<$val>><<if notLastElement $j $lenValues>>, <<end>><<end>>\NC\NR
<<if notLastElement $i $lenTech>>\TB[1mm]<<end>>
<<end>>
\stoptabulate
\section{EXPERIENCE}
<<- range .Employment>>
\jobsection{<<.Company>>}{<<.Location>>}{<<.JobTitle>>}{<<.Duration.Start.Month>>, <<.Duration.Start.Year>> - <<.Duration.End.Month>>, <<.Duration.End.Year>>}
\startitemize
<<range .Details>>
\item <<.>>
<<end>>
\stopitemize
<<end>>
\section{EDUCATION}
<<range .Education ->>
\jobsection{<<.School>>}{<<.Location>>}{<<.Qualification>>}{<<.Duration.Start.Month>>, <<.Duration.Start.Year>> - <<.Duration.End.Month>>, <<.Duration.End.Year>>}
\startitemize
<<range .Details>>
\item <<.>>
<<end>>
\stopitemize
<<end>>
\section{HOBBIES AND INTERESTS}
<<join .Interests>>
\section{REFERENCES}
References are available upon request.
\stoptext