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 @@
+
+
+
{% 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 ) { %}
+
+ {% proj.highlights.forEach( function( high, idx, ar) { %}
+ - {{ high|mdin }}
+ {% }); %}
+
+ {% } %}
+ {% } 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.
- {% proj.highlights.forEach( function( high, idx, ar) { %}
- - {{ high|mdin }}
- {% }); %}
+ {% } %}
+
+
+ - {{ proj.position }}, {{ proj.company }}
+
+
+ {% if( idx === ar.length - 1 ) { %}
+ {% } %}
+
{% } %}
{% }); %}
+
+
{% } %}
@@ -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 ) { %}
@@ -119,8 +142,8 @@
{% } else { %}
{{ pub.name }}, {{ pub.publisher }}
{% } %}
+ {{ pub.safeReleaseDate.format('YYYY') }}
- Published on: {{ pub.releaseDate }}
{{ pub.summary|md }}
@@ -135,8 +158,7 @@
{% r.awards.forEach( function( award, idx, ar) { %}
- {{ award.title }}, {{ award.awarder }}
- {{ award.date }}
+ {{ award.title }}, {{ award.awarder }} {{ award.safeDate.format('YYYY') }}
{{ award.summary|md }}
{% }); %}