1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-22 16:20:11 +00:00

Compact: Migrate to Handlebars.

This commit is contained in:
devlinjd 2015-12-16 20:08:12 -05:00
parent 57879adce3
commit 40e04afed4
4 changed files with 301 additions and 225 deletions

View File

@ -12,21 +12,21 @@
<header> <header>
<h1>{{ r.name }}</h1> <h1>{{ r.name }}</h1>
<div id="contact"> <div id="contact">
{% if (r.contact.email) { %}<div class="email"><a href="mailto:{{ RAW.contact.email }}">{{ RAW.contact.email }}</a></div>{% } %} {{#if r.contact.email}}<div class="email"><a href="mailto:{{ RAW.contact.email }}">{{ r.contact.email }}</a></div>{{/if}}
{% if (r.contact.phone) { %}<div class="phone">{{ r.contact.phone }}</div>{% } %} {{#if r.contact.phone}}<div class="phone">{{ r.contact.phone }}</div>{{/if}}
{% if (r.contact.website) { %}<div class="website"><a href="{{ RAW.contact.website }}">{{ RAW.contact.website }}</a></div>{% } %} {{#if r.contact.website}}<div class="website"><a href="{{ RAW.contact.website }}">{{ r.contact.website }}</a></div>{{/if}}
</div> </div>
</header> </header>
{% if ( r.info.brief && r.info.brief.length ) { %} {{#if r.info.brief}}
<section id="summary"> <section id="summary">
{{ r.info.brief }} {{ r.info.brief }}
</section> </section>
{% } %} {{/if}}
{% if ( r.skills && r.skills.sets && r.skills.sets.length ) { %} {{#if r.skills}}
<section id="skills"> <section id="skills">
<header> <header>
<h2><span class="fa fa-code"></span> Skills</h2><hr> <h2><span class="fa fa-code"></span> Skills</h2><hr>
@ -39,121 +39,124 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% r.skills.sets.forEach( function( skillset ) { %} {{#each r.skills.sets}}
<tr> <tr>
<td style="width: 25%;">{{ skillset.name }}</td> <td style="width: 25%;">{{ name }}</td>
<td class="keywords">{{ skillset.skills.join(', ') }}</td> <td class="keywords">{{#each skills}}{{ this }} {{/each}}</td>
</tr> </tr>
{% }); %} {{/each}}
</tbody> </tbody>
</table> </table>
</section> </section>
{% } %} {{/if}}
{% if ( r.employment && r.employment.history ) { %} {{#if r.employment}}
<section id="employment"> <section id="employment">
<header> <header>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2><hr> <h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2><hr>
</header> </header>
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
{% r.employment.history.forEach( function( proj, idx, ar) { %} <h3><em>{{ position }}</em>,
{% if( idx < 4 ) { %} {{#if url }}
<h3><em>{{ proj.position }}</em>, {{ filt.link( proj.employer, proj.url ) }} <span class="tenure">{{ proj.safe.start.format('YYYY-MM') }} &mdash; {{ proj.safe.end.format('YYYY-MM') }}<span></h3> <a href="{{ url }}">{{ employer }}</a>
<p style="clear: both;">{{ proj.summary }}</p> {{else}}
{% if( proj.highlights ) { %} {{ employer }}
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{ summary }}</p>
{{#if highlights}}
<ul> <ul>
{% proj.highlights.forEach( function( high, idx, ar) { %} {{#each highlights}}
<li>{{ high }}</li> <li>{{ this }}</li>
{% }); %} {{/each}}
</ul> </ul>
{% } %} {{/if}}
{% } else { %} {{/compare}}
{{#compare @index 4 operator=">="}}
{% if( idx === 4 ) { %} {{#compare @index 4 operator="=="}}
<h3>Previously... <span class="tenure">{{ r.employment.history[ r.employment.history.length - 1 ].safe.start.format('YYYY') }} &mdash; {{ proj.safe.end.format('YYYY') }}<span></h3> <h3>Previously...</h3>
<p style="clear: both;">Prior to {{ r.employment.history[ 3 ].employer }}, I worked on a range of projects for companies large and small.</p> <p style="clear: both;">Prior to {{ employer }}, I worked on a range of projects for companies large and small.</p>
<ul> <ul>
{% } %} {{/compare}}
<li>{{ position }}, {{ employer }}</li>
<li>{{ proj.position }}, {{ proj.employer }}</li> {{#if @last}}
{% if( idx === ar.length - 1 ) { %}
</ul> </ul>
{% } %} {{/if}}
{{/compare}}
{% } %} {{/each}}
{% }); %}
</section> </section>
{% } %} {{/if}}
{{# if r.education}}
{% if ( r.education && r.education.history ) { %}
<section id="education"> <section id="education">
<header> <header>
<h2><span class="fa fa-mortar-board"></span> Education</h2><hr> <h2><span class="fa fa-mortar-board"></span> Education</h2><hr>
</header> </header>
{% r.education.history.forEach( function( edu, idx, ar) { %} {{#each r.education.history}}
<h3>{{ edu.institution }} <span class="tenure">{{ edu.safe.start.format('YYYY') }} &mdash; {{ edu.safe.end.format('YYYY') }}<span></h3> <h3>{{ institution }} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
{% }); %} {{/each}}
</section> </section>
{% } %} {{/if}}
{% if ( r.service && r.service.history && r.service.history.length ) { %} {{#if r.service}}
<section id="volunteer"> <section id="volunteer">
<header> <header>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> Service</h2><hr> <h2><span class="fa fa-child" style="vertical-align: top;"></span> Service</h2><hr>
</header> </header>
{% r.service.history.forEach( function( vol, idx, ar ) { %} {{#each r.service.history}}
<h3><em>{{ vol.position }}</em>, {{ filt.link(vol.organization, vol.url) }} <span class="tenure">{{ vol.safe.start.format('YYYY') }} &mdash; {{ vol.safe.end.format('YYYY') }}<span></h3> <h3><em>{{ position }}</em>,
<p style="clear: both;">{{ vol.summary }}</p> {{#if url}}
{% if( vol.highlights ) { %} <a href="{{ url }}">{{ organization }}</a>
{{else}}
{{ organization }}
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
<p style="clear: both;">{{ summary }}</p>
{{#if highlights}}
<ul> <ul>
{% vol.highlights.forEach( function( high, idx, ar) { %} {{#each highlights}}
<li>{{ high }}</li> <li>{{ this }}</li>
{% }); %} {{/each}}
</ul> </ul>
{% } %} {{/if}}
{% }); %} {{/each}}
</section> </section>
{% } %} {{/if}}
{% if( r.writing && r.writing.length ) { %} {{#if r.writing}}
<section id="publications"> <section id="publications">
<header> <header>
<h2><span class="fa fa-book"></span> Writing</h2><hr> <h2><span class="fa fa-book"></span> Writing</h2><hr>
</header> </header>
{% r.writing.forEach( function( pub, idx, ar ) { %} {{#each r.writing }}
<h3><em>{{ filt.link( pub.title, pub.url ) }}</em>, {{ pub.publisher }} <span class="tenure">{{ pub.safe.date.format('YYYY') }}</span></h3> <h3><em>{{#if url}}<a href="{{ url }}">{{ title }}</a>{{else}}{{ title }}{{/if}}</em>,
{{ publisher }} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
{% if (pub.summary) { %}{{ pub.summary }}{% } %} {{# if summary}}{{ summary }}{{/if}}
{{/each}}
{% }); %}
</section> </section>
{% } %} {{/if}}
{% if( r.recognition && r.recognition.length ) { %} {{# if r.recognition}}
<section id="awards"> <section id="awards">
<header> <header>
<h2><span class="fa fa-trophy"></span> Awards</h2><hr> <h2><span class="fa fa-trophy"></span> Awards</h2><hr>
</header> </header>
{% r.recognition.forEach( function( award, idx, ar) { %} {{#each r.recognition}}
<h4><span class="res-label">{{ award.title }}</span>, {{ award.from }} <span class="tenure">{{ award.safe.date.format('YYYY') }}</span></h4> <h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>
{{ award.summary }} {{ summary }}
{% }); %} {{/each}}
</section> </section>
{% } %} {{/if}}
</main> </main>
</body> </body>

View File

@ -1,54 +1,84 @@
# {{ r.name }} {{ r.name }}
============
{{#if r.contact.email }}Email: {{{ r.contact.email }}}{{/if}}
{{#if r.contact.phone }}Tel: {{{ r.contact.phone }}}{{/if}}
{{#if r.contact.website }}Web: {{{ r.contact.website }}}{{/if}}
{% if (r.contact.email) { %}Email: {{ r.contact.email }}{% } %} {{#if r.info.brief }}{{{ r.info.brief }}}{{/if}}
{% if (r.contact.phone) { %}Tel: {{ r.contact.phone }}{% } %}
{% if (r.contact.website) { %}Web: {{ r.contact.website }}{% } %}
{% if ( r.info.brief && r.info.brief.length ) { %}{{ r.info.brief }}{% } %} {{#if r.skills}}
## SKILLS
{% if ( r.skills && r.skills.sets ) { %} {{#each r.skills.sets}}
## Skills - {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
{% r.skills.sets.forEach( function( set, idx, ar) { %} {{/each}}
- **{{ set.name }}**: {{ set.skills.join(', ') }} {{/if}}
{% }); } %}
{% if ( r.employment.history && r.employment.history.length ) { %} {{#if r.employment}}
## Employment ## EMPLOYMENT
{% r.employment.history.forEach( function( proj, idx, ar) { %}
### *{{ proj.position }}*, {{ proj.employer }}
<small>{{ proj.safe.start.format('MMM YYYY') }} — {{ proj.safe.end.format('MMM YYYY') }}</small>
{{ proj.summary }}
{% if( proj.highlights ) { %}{% proj.highlights.forEach( function( high, idx, ar) { %}
- {{ high }}
{% }); } }); } %}
{% if ( r.education.history && r.education.history.length ) { %} {{#each r.employment.history }}
## Education {{#compare @index 4 operator="<"}}
{% r.education.history.forEach( function( edu, idx, ar) { %} ### {{{ position }}}, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
### {{ edu.institution }} ({{ edu.safe.start.format('MMM YYYY') }} — {{ edu.safe.end.format('MMM YYYY') }}) {{{ summary }}}
{{ edu.area }} {{#if highlights}}
{% if( edu.curriculum ) { %}{% edu.curriculum.forEach( function( course, idx, ar) { %} {{#each highlights}}
- {{ course }} - {{{ this }}}
{% }); } }); } %} {{/each}}
{{/if}}
{% if ( r.writing && r.writing.length ) { %} {{/compare}}
## Publications {{#compare @index 4 operator=">="}}
{% r.writing.forEach( function( pub, idx, ar) { %} {{#compare @index 4 operator="=="}}
### {{ pub.title }} ({{ pub.safe.date.format('MMM YYYY') }}) ### Previously...
{{ pub.publisher }} Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.
{{ pub.summary }} {{/compare}}
{% }); } %} - {{{ position }}}, {{{ employer }}}
{{/compare}}
{{/each}}
{{/if}}
{% if ( r.service.history && r.service.history.length ) { %} {{#if r.education}}
## Volunteer ## EDUCATION
{% r.service.history.forEach( function( vol, idx, ar) { %}
### {{ vol.organization }} ({{ vol.safe.start.format('MMM YYYY') }} — {{ vol.safe.end.format('MMM YYYY') }})
{{ vol.summary }}
{% }); } %}
{% if ( r.recognition && r.recognition.length ) { %} {{#each r.education.history}}
## Recognition ### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{% r.recognition.forEach( function( awd, idx, ar) { %} {{#if summary }}
### *{{ awd.title }}*, {{ awd.from }} ({{ awd.safe.date.format('MMM YYYY') }}) {{{ summary }}}
{{ awd.summary }} {{/if}}
{% }); } %} {{#if courses}}
{{#each courses}}
- {{{ this }}}{{/each}}{{/if}}
{{/each}}
{{/if}}
{{#if r.writing}}
## WRITING
{{#each r.writing}}
### {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
{{{ summary }}}
{{/each}}
{{/if}}
{{#if r.service }}
## SERVICE
{{#each r.service.history}}
### {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/if}}
{{#if r.recognition}}
## RECOGNITION
{{#each r.recognition}}
### {{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}}
{{/each}}
{{/if}}

View File

@ -13,21 +13,21 @@
<header> <header>
<h1>{{ r.name }}</h1> <h1>{{ r.name }}</h1>
<div id="contact"> <div id="contact">
{% if (r.contact.email) { %}<div class="email"><a href="mailto:{{ r.contact.email }}">{{ r.contact.email }}</a></div>{% } %} {{#if r.contact.email}}<div class="email"><a href="mailto:{{ RAW.contact.email }}">{{ r.contact.email }}</a></div>{{/if}}
{% if (r.contact.phone) { %}<div class="phone">{{ r.contact.phone }}</div>{% } %} {{#if r.contact.phone}}<div class="phone">{{ r.contact.phone }}</div>{{/if}}
{% if (r.contact.website) { %}<div class="website"><a href="{{ r.contact.website }}">{{ r.contact.website }}</a></div>{% } %} {{#if r.contact.website}}<div class="website"><a href="{{ RAW.contact.website }}">{{ r.contact.website }}</a></div>{{/if}}
</div> </div>
</header> </header>
{% if ( r.info.brief && r.info.brief.length ) { %} {{#if r.info.brief}}
<section id="summary"> <section id="summary">
{{ r.info.brief }} {{ r.info.brief }}
</section> </section>
{% } %} {{/if}}
{% if ( r.skills && r.skills.sets && r.skills.sets.length ) { %} {{#if r.skills}}
<section id="skills"> <section id="skills">
<header> <header>
<h2><span class="fa fa-code"></span> Skills</h2><hr> <h2><span class="fa fa-code"></span> Skills</h2><hr>
@ -40,121 +40,124 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% r.skills.sets.forEach( function( skillset ) { %} {{#each r.skills.sets}}
<tr> <tr>
<td style="width: 25%;">{{ skillset.name }}</td> <td style="width: 25%;">{{ name }}</td>
<td class="keywords">{{ skillset.skills.join(', ') }}</td> <td class="keywords">{{#each skills}}{{ this }} {{/each}}</td>
</tr> </tr>
{% }); %} {{/each}}
</tbody> </tbody>
</table> </table>
</section> </section>
{% } %} {{/if}}
{% if ( r.employment && r.employment.history ) { %} {{#if r.employment}}
<section id="employment"> <section id="employment">
<header> <header>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2><hr> <h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2><hr>
</header> </header>
{{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
{% r.employment.history.forEach( function( proj, idx, ar) { %} <h3><em>{{ position }}</em>,
{% if( idx < 4 ) { %} {{#if url }}
<h3><em>{{ proj.position }}</em>, {{ filt.link( proj.employer, proj.url ) }} <span class="tenure">{{ proj.safe.start.format('YYYY-MM') }} &mdash; {{ proj.safe.end.format('YYYY-MM') }}<span></h3> <a href="{{ url }}">{{ employer }}</a>
<p style="clear: both;">{{ proj.summary }}</p> {{else}}
{% if( proj.highlights ) { %} {{ employer }}
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{ summary }}</p>
{{#if highlights}}
<ul> <ul>
{% proj.highlights.forEach( function( high, idx, ar) { %} {{#each highlights}}
<li>{{ high }}</li> <li>{{ this }}</li>
{% }); %} {{/each}}
</ul> </ul>
{% } %} {{/if}}
{% } else { %} {{/compare}}
{{#compare @index 4 operator=">="}}
{% if( idx === 4 ) { %} {{#compare @index 4 operator="=="}}
<h3>Previously... <span class="tenure">{{ r.employment.history[ r.employment.history.length - 1 ].safe.start.format('YYYY') }} &mdash; {{ proj.safe.end.format('YYYY') }}<span></h3> <h3>Previously...</h3>
<p style="clear: both;">Prior to {{ r.employment.history[ 3 ].employer }}, I worked on a range of projects for companies large and small.</p> <p style="clear: both;">Prior to {{ employer }}, I worked on a range of projects for companies large and small.</p>
<ul> <ul>
{% } %} {{/compare}}
<li>{{ position }}, {{ employer }}</li>
<li>{{ proj.position }}, {{ proj.employer }}</li> {{#if @last}}
{% if( idx === ar.length - 1 ) { %}
</ul> </ul>
{% } %} {{/if}}
{{/compare}}
{% } %} {{/each}}
{% }); %}
</section> </section>
{% } %} {{/if}}
{{# if r.education}}
{% if ( r.education && r.education.history ) { %}
<section id="education"> <section id="education">
<header> <header>
<h2><span class="fa fa-mortar-board"></span> Education</h2><hr> <h2><span class="fa fa-mortar-board"></span> Education</h2><hr>
</header> </header>
{% r.education.history.forEach( function( edu, idx, ar) { %} {{#each r.education.history}}
<h3>{{ edu.institution }} <span class="tenure">{{ edu.safe.start.format('YYYY') }} &mdash; {{ edu.safe.end.format('YYYY') }}<span></h3> <h3>{{ institution }} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
{% }); %} {{/each}}
</section> </section>
{% } %} {{/if}}
{% if ( r.service && r.service.history && r.service.history.length ) { %} {{#if r.service}}
<section id="volunteer"> <section id="volunteer">
<header> <header>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> Service</h2><hr> <h2><span class="fa fa-child" style="vertical-align: top;"></span> Service</h2><hr>
</header> </header>
{% r.service.history.forEach( function( vol, idx, ar ) { %} {{#each r.service.history}}
<h3><em>{{ vol.position }}</em>, {{ filt.link(vol.organization, vol.url) }} <span class="tenure">{{ vol.safe.start.format('YYYY') }} &mdash; {{ vol.safe.end.format('YYYY') }}<span></h3> <h3><em>{{ position }}</em>,
<p style="clear: both;">{{ vol.summary }}</p> {{#if url}}
{% if( vol.highlights ) { %} <a href="{{ url }}">{{ organization }}</a>
{{else}}
{{ organization }}
{{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
<p style="clear: both;">{{ summary }}</p>
{{#if highlights}}
<ul> <ul>
{% vol.highlights.forEach( function( high, idx, ar) { %} {{#each highlights}}
<li>{{ high }}</li> <li>{{ this }}</li>
{% }); %} {{/each}}
</ul> </ul>
{% } %} {{/if}}
{% }); %} {{/each}}
</section> </section>
{% } %} {{/if}}
{% if( r.writing && r.writing.length ) { %} {{#if r.writing}}
<section id="publications"> <section id="publications">
<header> <header>
<h2><span class="fa fa-book"></span> Writing</h2><hr> <h2><span class="fa fa-book"></span> Writing</h2><hr>
</header> </header>
{% r.writing.forEach( function( pub, idx, ar ) { %} {{#each r.writing }}
<h3><em>{{ filt.link( pub.title, pub.url ) }}</em>, {{ pub.publisher }} <span class="tenure">{{ pub.safe.date.format('YYYY') }}</span></h3> <h3><em>{{#if url}}<a href="{{ url }}">{{ title }}</a>{{else}}{{ title }}{{/if}}</em>,
{{ publisher }} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
{% if (pub.summary) { %}{{ pub.summary }}{% } %} {{# if summary}}{{ summary }}{{/if}}
{{/each}}
{% }); %}
</section> </section>
{% } %} {{/if}}
{% if( r.recognition && r.recognition.length ) { %} {{# if r.recognition}}
<section id="awards"> <section id="awards">
<header> <header>
<h2><span class="fa fa-trophy"></span> Awards</h2><hr> <h2><span class="fa fa-trophy"></span> Awards</h2><hr>
</header> </header>
{% r.recognition.forEach( function( award, idx, ar) { %} {{#each r.recognition}}
<h4><span class="res-label">{{ award.title }}</span>, {{ award.from }} <span class="tenure">{{ award.safe.date.format('YYYY') }}</span></h4> <h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>
{{ award.summary }} {{ summary }}
{% }); %} {{/each}}
</section> </section>
{% } %} {{/if}}
</main> </main>
</body> </body>

View File

@ -1,50 +1,90 @@
{# {{!
compact/txt.txt compact/txt.txt
A plain text resume template for FluentCV's "compact" theme. A plain text resume template for FluentCV's "compact" theme.
#} }}
{{ r.name }} {{ r.name }}
{% if (r.contact.email) { %}Email: {{ r.contact.email }}{% } %} {{#if r.contact.email }}Email: {{{ r.contact.email }}}{{/if}}
{% if (r.contact.phone) { %}Tel: {{ r.contact.phone }}{% } %} {{#if r.contact.phone }}Tel: {{{ r.contact.phone }}}{{/if}}
{% if (r.contact.website) { %}Web: {{ r.contact.website }}{% } %} {{#if r.contact.website }}Web: {{{ r.contact.website }}}{{/if}}
================================================================================
*** {{#if r.info.brief }}{{{ r.info.brief }}}{{/if}}
{% if ( r.info.brief && r.info.brief.length ) { %}{{ r.info.brief }}{% } %} {{#if r.skills}}
SKILLS -------------------------------------------------------------------------
{{#each r.skills.sets}}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
{{/each}}
{{/if}}
{% if ( r.skills && r.skills.length ) { %}SKILLS {{#if r.employment}}
{% r.skills.forEach( function( skill ) { %} EMPLOYMENT ---------------------------------------------------------------------
- {{ skill.name }}: {{ skill.level }}
{% }); } %}
{% if ( r.employment.history && r.employment.history.length ) { %}EMPLOYMENT {{#each r.employment.history }}
{% r.employment.history.forEach( function( proj, idx, ar) { %} {{#compare @index 4 operator="<"}}
{{ proj.employer }} ({{ proj.safe.start.format('YYYY-MM') }} — {{ proj.safe.end.format('YYYY-MM') }}) {{{ position }}}, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
{{ proj.summary }} {{{ summary }}}
{% if( proj.highlights ) { %}{% proj.highlights.forEach( function( high ) { %} {{#if highlights}}
- {{ high }} {{#each highlights}}
{% }); } }); } %} - {{{ this }}}
{{/each}}
{{/if}}
{% if ( r.education && r.education.history ) { %}EDUCATION {{/compare}}
{% r.education.history.forEach( function( edu, idx, ar) { %} {{#compare @index 4 operator=">="}}
{{ edu.institution }} ({{ edu.safe.start.format('YYYY-MM') }} — {{ edu.safe.end.format('YYYY-MM') }}) {{#compare @index 4 operator="=="}}
{{ edu.summary }} Previously...
{% if( edu.courses ) { %}{% edu.courses.forEach( function( course ) { %} Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.
- {{ course }} {{/compare}}
{% }); } }); } %} - {{{ position }}}, {{{ employer }}}
{{/compare}}
{{/each}}
{{/if}}
{% if ( r.service && r.service.history ) { %}VOLUNTEER {{#if r.education}}
{% r.service.history.forEach( function( srv, idx, ar) { %} EDUCATION ----------------------------------------------------------------------
{{ srv.organization }} ({{ srv.safe.start.format('YYYY-MM') }} — {{ srv.safe.end.format('YYYY-MM') }})
{{ srv.summary }}
{% if( srv.highlights ) { %}{% srv.highlights.forEach( function( high ) { %}
- {{ high }}
{% }); } }); } %}
{% if ( r.writing && r.writing.length ) { %}WRITING {{#each r.education.history}}
{% r.writing.forEach( function( wri, idx, ar) { %} {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{ wri.title }} ({{ wri.safe.date.format('YYYY-MM') }}) {{#if summary }}
{{ wri.summary }} {{{ summary }}}
{% }); } %} {{/if}}
{{#if courses}}
{{#each courses}}
- {{{ this }}}{{/each}}{{/if}}
{{/each}}
{{/if}}
{{#if r.writing}}
WRITING ------------------------------------------------------------------------
{{#each r.writing}}
{{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
{{{ summary }}}
{{/each}}
{{/if}}
{{#if r.service }}
SERVICE ------------------------------------------------------------------------
{{#each r.service.history}}
{{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/if}}
{{#if r.recognition}}
RECOGNITION --------------------------------------------------------------------
{{#each r.recognition}}
{{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}}
{{/each}}
{{/if}}