diff --git a/themes/compact/templates/html.html b/themes/compact/templates/html.html index aefef27..644b17d 100644 --- a/themes/compact/templates/html.html +++ b/themes/compact/templates/html.html @@ -56,18 +56,41 @@

Employment


+ + + {% r.work.forEach( function( proj, idx, ar) { %} -

{{ proj.position }}, {{ proj.company }} {{ proj.startDate }} — {{ proj.endDate }}

-

{{ proj.summary|md }}

- {% if( proj.highlights ) { %} + {% if( idx < 4 ) { %} +

{{ proj.position }}, {{ proj.company }} {{ proj.startDate }} — {{ proj.endDate }}

+

{{ proj.summary|md }}

+ {% if( proj.highlights ) { %} + + {% } %} + {% } else { %} + + {% if( idx === 4 ) { %} +

Previously... {{ r.work[ r.work.length - 1 ].safeStartDate.format('YYYY') }} — {{ proj.safeEndDate.format('YYYY') }}

+

Prior to {{ r.work[ 3 ].company }}, I worked on a range of projects for companies large and small.

+ {% } %} + {% } %} {% }); %} + + {% } %} @@ -79,7 +102,7 @@

Education


{% r.education.forEach( function( edu, idx, ar) { %} -

{{ edu.institution }} {{ edu.startDate }} — {{ edu.endDate }}

+

{{ edu.institution }} {{ edu.safeStartDate.format('YYYY') }} — {{ edu.safeEndDate.format('YYYY') }}

{{ edu.area|md }}

{% }); %} @@ -92,7 +115,7 @@

Volunteer


{% r.volunteer.forEach( function( vol, idx, ar ) { %} -

{{ vol.organization }} {{ vol.startDate }} — {{ vol.endDate }}

+

{{ vol.organization }} {{ vol.safeStartDate.format('YYYY') }} — {{ vol.safeEndDate.format('YYYY') }}

{{ vol.summary|md }}

{% if( vol.highlights ) { %}