diff --git a/themes/compact/templates/html.html b/themes/compact/templates/html.html index e1578d5..c9b3ca0 100644 --- a/themes/compact/templates/html.html +++ b/themes/compact/templates/html.html @@ -25,7 +25,7 @@ {% } %} -{% if ( r.skills && r.skills.length ) { %} +{% if ( r.skills && r.skills.sets && r.skills.sets.length ) { %} Skills @@ -38,10 +38,10 @@ - {% r.skills.forEach( function( skill, idx, ar) { %} + {% r.skills.sets.forEach( function( skillset ) { %} - {{ skill.name }} - {{ skill.level }} + {{ skillset.name }} + {{ skillset.skills.join(',') }} {% }); %} @@ -129,15 +129,15 @@ {% } %} -{% if( r.publications && r.publications.length ) { %} +{% if( r.writing && r.writing.length ) { %} Publications - {% r.publications.forEach( function( pub, idx, ar) { %} + {% r.writing.forEach( function( pub, idx, ar) { %} - {% if( pub.link ) { %} + {% if( pub.url ) { %} {{ pub.title }}, {{ pub.publisher }} {% } else { %} {{ pub.title }}, {{ pub.publisher }} @@ -151,14 +151,14 @@ {% } %} -{% if( r.awards && r.awards.length ) { %} +{% if( r.recognition && r.recognition.length ) { %} Awards - {% r.awards.forEach( function( award, idx, ar) { %} - {{ award.title }}, {{ award.awarder }} {{ award.safeDate.format('YYYY') }} + {% r.recognition.forEach( function( award, idx, ar) { %} + {{ award.title }}, {{ award.from }} {{ award.safe.date.format('YYYY') }} {{ award.summary|md }} {% }); %} diff --git a/themes/compact/templates/pdf.html b/themes/compact/templates/pdf.html index f2b2090..bffec4d 100644 --- a/themes/compact/templates/pdf.html +++ b/themes/compact/templates/pdf.html @@ -27,7 +27,7 @@ {% } %} -{% if ( r.skills && r.skills.length ) { %} +{% if ( r.skills && r.skills.sets && r.skills.sets.length ) { %} Skills @@ -40,10 +40,10 @@ - {% r.skills.forEach( function( skill, idx, ar) { %} + {% r.skills.sets.forEach( function( skillset ) { %} - {{ skill.name }} - {{ skill.level }} + {{ skillset.name }} + {{ skillset.skills.join(',') }} {% }); %} @@ -131,15 +131,15 @@ {% } %} -{% if( r.publications && r.publications.length ) { %} +{% if( r.writing && r.writing.length ) { %} Publications - {% r.publications.forEach( function( pub, idx, ar) { %} + {% r.writing.forEach( function( pub, idx, ar) { %} - {% if( pub.link ) { %} + {% if( pub.url ) { %} {{ pub.title }}, {{ pub.publisher }} {% } else { %} {{ pub.title }}, {{ pub.publisher }} @@ -153,14 +153,14 @@ {% } %} -{% if( r.awards && r.awards.length ) { %} +{% if( r.recognition && r.recognition.length ) { %} Awards - {% r.awards.forEach( function( award, idx, ar) { %} - {{ award.title }}, {{ award.awarder }} {{ award.safeDate.format('YYYY') }} + {% r.recognition.forEach( function( award, idx, ar) { %} + {{ award.title }}, {{ award.from }} {{ award.safe.date.format('YYYY') }} {{ award.summary|md }} {% }); %} @@ -168,4 +168,3 @@