mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2025-06-07 21:06:13 +01:00
All: Better section handling & add projects.
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
|
||||
{% if ( r.employment && r.employment.history ) { %}{% print(h.sectionTitle('EMPLOYMENT')) %}
|
||||
{% r.employment.history.forEach( function( proj, idx, ar) { %}
|
||||
{{ proj.employer }} ({{ proj.safe.start.format('YYYY-MM') }} — {{ proj.safe.end.format('YYYY-MM') }})
|
||||
{{ proj.employer }} {{ h.dateRange(proj) }}
|
||||
{{ proj.summary }}
|
||||
{% if( proj.highlights ) { %}{% proj.highlights.forEach( function( high ) { %}
|
||||
- {{ high }}
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
{% if ( r.education && r.education.history ) { %}{% print(h.sectionTitle('EDUCATION')) %}
|
||||
{% r.education.history.forEach( function( edu, idx, ar) { %}
|
||||
{{ edu.institution }} ({{ edu.safe.start.format('YYYY-MM') }} — {{ edu.safe.end.format('YYYY-MM') }})
|
||||
{{ edu.institution }} {% print(h.dateRange(edu)) %}
|
||||
{{ edu.summary }}
|
||||
{% if( edu.courses ) { %}{% edu.courses.forEach( function( course ) { %}
|
||||
- {{ course }}
|
||||
@ -35,10 +35,10 @@
|
||||
|
||||
{% if ( r.projects && r.projects.length ) { %}{% print(h.sectionTitle('PROJECTS')) %}
|
||||
{% r.projects.forEach( function( proj, idx, ar) { %}
|
||||
{{ proj.title }} ({{ proj.safe.start.format('YYYY-MM') }} — {{ proj.safe.end.format('YYYY-MM') }})
|
||||
{{ proj.title }} {{ h.dateRange( proj ) }}
|
||||
{{ proj.summary }}
|
||||
{% if( edu.courses ) { %}{% proj.highlights.forEach( function( course ) { %}
|
||||
- {{ course }}
|
||||
{% if( proj.highlights ) { %}{% proj.highlights.forEach( function( high ) { %}
|
||||
- {{ high }}
|
||||
{% }); } }); } %}
|
||||
|
||||
{% if ( r.service && r.service.history ) { %}{% print(h.sectionTitle('service', 'VOLUNTEER')) %}
|
||||
|
Reference in New Issue
Block a user