<<- /* Prepend the setup area */ ->>
<< template "cv_setup.tmpl.tex" .>>

\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]

      <<if .Links.LinkedIn>>{\bf LinkedIn:} <<.Links.LinkedIn>>\blank[none]<<end>>
      <<if .Links.GitHub>>{\bf GitHub:} <<.Links.GitHub>>\blank[none]<<end>>
  \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>>}{<<durationToString .Duration>>}
      \startitemize
      <<range .Details>>
        \item <<.>>
      <<end>>
      \stopitemize
    <<end>>

  \section{EDUCATION}
    <<range .Education ->>
    \jobsection{<<.School>>}{<<.Location>>}{<<.Qualification>>}{<<durationToString .Duration>>}
      \startitemize
      <<range .Details>>
        \item <<.>>
      <<end>>
      \stopitemize
    <<end>>

  \section{INTERESTS AND HOBBIES}
  <<join .Interests>>

  \section{REFERENCES}
  References are available upon request.
\stoptext
