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

Allow user-specified section headings.

This commit is contained in:
hacksalot 2016-01-04 17:07:30 -05:00
parent 4954079a6f
commit f49df02d6a
30 changed files with 247 additions and 187 deletions

View File

@ -28,7 +28,7 @@
{{#if r.skills}} {{#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> {{{sectionTitle "Skills"}}}</h2><hr>
</header> </header>
<table> <table>
<thead> <thead>
@ -54,7 +54,7 @@
{{#if r.employment}} {{#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> {{{sectionTitle "Employment"}}}</h2><hr>
</header> </header>
{{#each r.employment.history}} {{#each r.employment.history}}
@ -97,7 +97,7 @@
{{# if r.education}} {{# if r.education}}
<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> {{{sectionTitle "Education"}}}</h2><hr>
</header> </header>
{{#each r.education.history}} {{#each r.education.history}}
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3> <h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
@ -109,7 +109,7 @@
{{#if r.service}} {{#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> {{{sectionTitle "Service"}}}</h2><hr>
</header> </header>
{{#each r.service.history}} {{#each r.service.history}}
<h3><em>{{ position }}</em>, <h3><em>{{ position }}</em>,
@ -135,7 +135,7 @@
{{#if r.writing}} {{#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> {{{sectionTitle "Writing"}}}</h2><hr>
</header> </header>
{{#each r.writing }} {{#each r.writing }}
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>, <h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
@ -148,7 +148,7 @@
{{# if r.recognition}} {{# 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> {{{sectionTitle "recognition" "Awards"}}}</h2><hr>
</header> </header>
{{#each r.recognition}} {{#each r.recognition}}
<h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4> <h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>

View File

@ -15,7 +15,7 @@
{{/if}} {{/if}}
{{#if r.employment}} {{#if r.employment}}
## EMPLOYMENT ## {{{sectionTitle "EMPLOYMENT"}}}
{{#each r.employment.history }} {{#each r.employment.history }}
{{#compare @index 4 operator="<"}} {{#compare @index 4 operator="<"}}
@ -39,7 +39,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/if}} {{/if}}
{{#if r.education}} {{#if r.education}}
## EDUCATION ## {{{sectionTitle "EDUCATION"}}}
{{#each r.education.history}} {{#each r.education.history}}
### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}) ### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -61,7 +61,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/if}} {{/if}}
{{#if r.service }} {{#if r.service }}
## SERVICE ## {{{sectionTitle "SERVICE"}}}
{{#each r.service.history}} {{#each r.service.history}}
### {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}) ### {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -75,7 +75,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/each}} {{/each}}
{{/if}} {{/if}}
{{#if r.recognition}} {{#if r.recognition}}
## RECOGNITION ## {{{sectionTitle "RECOGNITION"}}}
{{#each r.recognition}} {{#each r.recognition}}
### {{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }}) ### {{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})

View File

@ -29,7 +29,7 @@
{{#if r.skills}} {{#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> {{{sectionTitle "Skills"}}}</h2><hr>
</header> </header>
<table> <table>
<thead> <thead>
@ -55,7 +55,7 @@
{{#if r.employment}} {{#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> {{{sectionTitle "Employment"}}}</h2><hr>
</header> </header>
{{#each r.employment.history}} {{#each r.employment.history}}
@ -98,7 +98,7 @@
{{# if r.education}} {{# if r.education}}
<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> {{{sectionTitle "Education"}}}</h2><hr>
</header> </header>
{{#each r.education.history}} {{#each r.education.history}}
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3> <h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
@ -110,7 +110,7 @@
{{#if r.service}} {{#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> {{{sectionTitle "Service"}}}</h2><hr>
</header> </header>
{{#each r.service.history}} {{#each r.service.history}}
<h3><em>{{ position }}</em>, <h3><em>{{ position }}</em>,
@ -136,7 +136,7 @@
{{#if r.writing}} {{#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> {{{sectionTitle "Writing"}}}</h2><hr>
</header> </header>
{{#each r.writing }} {{#each r.writing }}
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>, <h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
@ -149,7 +149,7 @@
{{# if r.recognition}} {{# 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> {{{sectionTitle "recognition" "Awards"}}}</h2><hr>
</header> </header>
{{#each r.recognition}} {{#each r.recognition}}
<h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4> <h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>

View File

@ -4,7 +4,7 @@
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r wsp:rsidRPr="00C146CA"> <w:r wsp:rsidRPr="00C146CA">
<w:t>EDUCATION</w:t> <w:t>{{{sectionTitle "EDUCATION"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>

View File

@ -4,7 +4,7 @@
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r wsp:rsidRPr="00C146CA"> <w:r wsp:rsidRPr="00C146CA">
<w:t>EMPLOYMENT</w:t> <w:t>{{{sectionTitle "EMPLOYMENT"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>

View File

@ -5,7 +5,7 @@
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r wsp:rsidRPr="00C146CA"> <w:r wsp:rsidRPr="00C146CA">
<w:t>SKILLS</w:t> <w:t>{{{sectionTitle "SKILLS"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
<w:tbl> <w:tbl>

View File

@ -740,7 +740,7 @@ engine: Underscore
<w:i w:val="off"/> <w:i w:val="off"/>
<w:i-cs w:val="off"/> <w:i-cs w:val="off"/>
</w:rPr> </w:rPr>
<w:t>Skills</w:t> <w:t>{{{sectionTitle "Skills"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
<w:tbl> <w:tbl>
@ -792,7 +792,7 @@ engine: Underscore
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r> <w:r>
<w:t>Employment</w:t> <w:t>{{{sectionTitle "Employment"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
<w:tbl> <w:tbl>
@ -917,7 +917,7 @@ engine: Underscore
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r> <w:r>
<w:t>Education</w:t> <w:t>{{{sectionTitle "Education"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
<w:tbl> <w:tbl>

View File

@ -30,7 +30,7 @@ engine: Underscore
{% if ( r.info.brief && r.info.brief.length ) { %} {% if ( r.info.brief && r.info.brief.length ) { %}
<hr> <hr>
<section id="summary"> <section id="summary">
<h3>About</h3> <h3>{{{sectionTitle "info" "About"}}}</h3>
<span class="fa fa-lg fa-user"></span> <span class="fa fa-lg fa-user"></span>
{{ r.info.brief }} {{ r.info.brief }}
</section> </section>
@ -41,7 +41,7 @@ engine: Underscore
<hr> <hr>
<section id="skills"> <section id="skills">
<header> <header>
<h3>Skills</h3> <h3>{{{sectionTitle "Skills"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-code"></span> <span class="fa fa-lg fa-code"></span>
@ -75,7 +75,7 @@ engine: Underscore
<hr> <hr>
<section id="employment"> <section id="employment">
<header> <header>
<h3>Employment</h3> <h3>{{{sectionTitle "Employment"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-building"></span> <span class="fa fa-lg fa-building"></span>
{% r.employment.history.forEach( function( proj, idx, ar) { %} {% r.employment.history.forEach( function( proj, idx, ar) { %}
@ -104,7 +104,7 @@ engine: Underscore
<hr> <hr>
<section id="education"> <section id="education">
<header> <header>
<h3>Education</h3> <h3>{{{sectionTitle "Education"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-mortar-board"></span> <span class="fa fa-lg fa-mortar-board"></span>
{% r.education.history.forEach( function( edu, idx, ar) { %} {% r.education.history.forEach( function( edu, idx, ar) { %}
@ -126,7 +126,7 @@ engine: Underscore
<hr> <hr>
<section id="awards"> <section id="awards">
<header> <header>
<h3>Awards</h3> <h3>{{{sectionTitle "recognition" "Awards"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-trophy"></span> <span class="fa fa-lg fa-trophy"></span>
{% r.recognition.forEach( function( award, idx, ar) { %} {% r.recognition.forEach( function( award, idx, ar) { %}
@ -141,7 +141,7 @@ engine: Underscore
<hr> <hr>
<section id="publications"> <section id="publications">
<header> <header>
<h3>Publications</h3> <h3>{{{sectionTitle "writing" "Publications"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-pencil"></span> <span class="fa fa-lg fa-pencil"></span>
{% r.writing.forEach( function( pub, idx, ar) { %} {% r.writing.forEach( function( pub, idx, ar) { %}
@ -160,7 +160,7 @@ engine: Underscore
<hr> <hr>
<section id="volunteer"> <section id="volunteer">
<header> <header>
<h3>Volunteer Work</h3> <h3>{{{sectionTitle "service" "Volunteer Work"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-child"></span> <span class="fa fa-lg fa-child"></span>
{% r.service.history.forEach( function( vol, idx, ar) { %} {% r.service.history.forEach( function( vol, idx, ar) { %}

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}}
## {{{sectionTitle "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 ## {{{sectionTitle "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 ## {{{sectionTitle "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 }}
## {{{sectionTitle "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}}
## {{{sectionTitle "RECOGNITION"}}}
{{#each r.recognition}}
### {{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}}
{{/each}}
{{/if}}

View File

@ -32,7 +32,7 @@ engine: Underscore
{% if ( r.info.brief && r.info.brief.length ) { %} {% if ( r.info.brief && r.info.brief.length ) { %}
<hr> <hr>
<section id="summary"> <section id="summary">
<h3>About</h3> <h3>{{{sectionTitle "info" "About"}}}</h3>
<span class="fa fa-lg fa-user"></span> <span class="fa fa-lg fa-user"></span>
{{ r.info.brief }} {{ r.info.brief }}
</section> </section>
@ -43,7 +43,7 @@ engine: Underscore
<hr> <hr>
<section id="skills"> <section id="skills">
<header> <header>
<h3>Skills</h3> <h3>{{{sectionTitle "Skills"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-code"></span> <span class="fa fa-lg fa-code"></span>
@ -77,7 +77,7 @@ engine: Underscore
<hr> <hr>
<section id="employment"> <section id="employment">
<header> <header>
<h3>Employment</h3> <h3>{{{sectionTitle "Employment"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-building"></span> <span class="fa fa-lg fa-building"></span>
{% r.employment.history.forEach( function( proj, idx, ar) { %} {% r.employment.history.forEach( function( proj, idx, ar) { %}
@ -106,7 +106,7 @@ engine: Underscore
<hr> <hr>
<section id="education"> <section id="education">
<header> <header>
<h3>Education</h3> <h3>{{{sectionTitle "Education"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-mortar-board"></span> <span class="fa fa-lg fa-mortar-board"></span>
{% r.education.history.forEach( function( edu, idx, ar) { %} {% r.education.history.forEach( function( edu, idx, ar) { %}
@ -128,7 +128,7 @@ engine: Underscore
<hr> <hr>
<section id="awards"> <section id="awards">
<header> <header>
<h3>Awards</h3> <h3>{{{sectionTitle "recognition" "Awards"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-trophy"></span> <span class="fa fa-lg fa-trophy"></span>
{% r.recognition.forEach( function( award, idx, ar) { %} {% r.recognition.forEach( function( award, idx, ar) { %}
@ -143,7 +143,7 @@ engine: Underscore
<hr> <hr>
<section id="publications"> <section id="publications">
<header> <header>
<h3>Publications</h3> <h3>{{{sectionTitle "writing" "Publications"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-pencil"></span> <span class="fa fa-lg fa-pencil"></span>
{% r.writing.forEach( function( pub, idx, ar) { %} {% r.writing.forEach( function( pub, idx, ar) { %}
@ -158,11 +158,11 @@ engine: Underscore
</section> </section>
{% } %} {% } %}
{% if ( r.service.history && r.service.history.length ) { %} {% if ( r.service && r.service.history && r.service.history.length ) { %}
<hr> <hr>
<section id="volunteer"> <section id="volunteer">
<header> <header>
<h3>Volunteer Work</h3> <h3>{{{sectionTitle "service" "Volunteer Work"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-child"></span> <span class="fa fa-lg fa-child"></span>
{% r.service.history.forEach( function( vol, idx, ar) { %} {% r.service.history.forEach( function( vol, idx, ar) { %}

View File

@ -1,54 +1,84 @@
{#
minimist/txt.txt
A plain text resume template for FluentCV's "minimist" 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}}
{{{sectionTitle "SKILLS"}}} -------------------------------------------------------------------------
{{#each r.skills.sets}}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
{{/each}}
{{/if}}
{% if ( r.skills && r.skills.sets && r.skills.sets.length ) { %}SKILLS {{#if r.employment}}
{% r.skills.sets.forEach( function( set ) { %} {{{sectionTitle "EMPLOYMENT"}}} ---------------------------------------------------------------------
- {{ set.name }}: {% set.skills.forEach(function(sk){ %}{{ sk }}, {% }); %}
{{ set.level }}
{% }); %}
{% } else if( r.skills && r.skills.list && r.skills.list.length ) { %}
{% } %} {{#each r.employment.history }}
{{#compare @index 4 operator="<"}}
{{{ position }}}, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{% if ( r.employment && r.employment.history ) { %}EMPLOYMENT {{/compare}}
{% 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') }}) {{#compare @index 4 operator="=="}}
{{ proj.summary }} Previously...
{% if( proj.highlights ) { %}{% proj.highlights.forEach( function( high ) { %} Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.
- {{ high }} {{/compare}}
{% }); } }); } %} - {{{ position }}}, {{{ employer }}}
{{/compare}}
{{/each}}
{{/if}}
{% if ( r.education && r.education.history ) { %}EDUCATION {{#if r.education}}
{% r.education.history.forEach( function( edu, idx, ar) { %} {{{sectionTitle "EDUCATION"}}} ----------------------------------------------------------------------
{{ edu.institution }} ({{ edu.safe.start.format('YYYY-MM') }} — {{ edu.safe.end.format('YYYY-MM') }})
{{ edu.summary }}
{% if( edu.courses ) { %}{% edu.courses.forEach( function( course ) { %}
- {{ course }}
{% }); } }); } %}
{% if ( r.service && r.service.history ) { %}VOLUNTEER {{#each r.education.history}}
{% r.service.history.forEach( function( srv, idx, ar) { %} {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
{{ srv.organization }} ({{ srv.safe.start.format('YYYY-MM') }} — {{ srv.safe.end.format('YYYY-MM') }}) {{#if summary }}
{{ srv.summary }} {{{ summary }}}
{% if( srv.highlights ) { %}{% srv.highlights.forEach( function( high ) { %} {{/if}}
- {{ high }} {{#if courses}}
{% }); } }); } %} {{#each courses}}
- {{{ this }}}{{/each}}{{/if}}
{{/each}}
{{/if}}
{{#if r.writing}}
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
{% if ( r.writing && r.writing.length ) { %}WRITING {{#each r.writing}}
{% r.writing.forEach( function( wri, idx, ar) { %} {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
{{ wri.title }} ({{ wri.safe.date.format('YYYY-MM') }}) {{{ summary }}}
{{ wri.summary }} {{/each}}
{% }); } %} {{/if}}
{{#if r.service }}
{{{sectionTitle "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}}
{{{sectionTitle "RECOGNITION"}}} --------------------------------------------------------------------
{{#each r.recognition}}
{{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}}
{{/each}}
{{/if}}

View File

@ -23,7 +23,7 @@
{{#if r.info.brief}} {{#if r.info.brief}}
<hr> <hr>
<section id="summary"> <section id="summary">
<h3>About</h3> <h3>{{{sectionTitle "info" "About"}}}</h3>
<span class="fa fa-lg fa-user"></span> <span class="fa fa-lg fa-user"></span>
{{{ r.info.brief }}} {{{ r.info.brief }}}
</section> </section>
@ -34,7 +34,7 @@
<hr> <hr>
<section id="skills"> <section id="skills">
<header> <header>
<h3>Skills</h3> <h3>{{{sectionTitle "Skills"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-code"></span> <span class="fa fa-lg fa-code"></span>
@ -68,7 +68,7 @@
<hr> <hr>
<section id="employment"> <section id="employment">
<header> <header>
<h3>Employment</h3> <h3>{{{sectionTitle "Employment"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-building"></span> <span class="fa fa-lg fa-building"></span>
{{#each r.employment.history}} {{#each r.employment.history}}
@ -95,7 +95,7 @@
<hr> <hr>
<section id="education"> <section id="education">
<header> <header>
<h3>Education</h3> <h3>{{{sectionTitle "Education"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-mortar-board"></span> <span class="fa fa-lg fa-mortar-board"></span>
{{#each r.education.history}} {{#each r.education.history}}
@ -117,7 +117,7 @@
<hr> <hr>
<section id="volunteer"> <section id="volunteer">
<header> <header>
<h3>Service</h3> <h3>{{{sectionTitle "Service"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-child"></span> <span class="fa fa-lg fa-child"></span>
{{#each r.service.history}} {{#each r.service.history}}
@ -144,7 +144,7 @@
<hr> <hr>
<section id="publications"> <section id="publications">
<header> <header>
<h3>Publications</h3> <h3>{{{sectionTitle "writing" "Publications"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-pencil"></span> <span class="fa fa-lg fa-pencil"></span>
{{#each r.writing}} {{#each r.writing}}
@ -162,7 +162,7 @@
<hr> <hr>
<section id="awards"> <section id="awards">
<header> <header>
<h3>Awards</h3> <h3>{{{sectionTitle "recognition" "Awards"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-trophy"></span> <span class="fa fa-lg fa-trophy"></span>
{{#each r.recognition}} {{#each r.recognition}}

View File

@ -7,7 +7,7 @@
{{#if r.info.brief }}{{{ r.info.brief }}}{{/if}} {{#if r.info.brief }}{{{ r.info.brief }}}{{/if}}
{{#if r.skills}} {{#if r.skills}}
## SKILLS ## {{{sectionTitle "SKILLS"}}}
{{#each r.skills.sets}} {{#each r.skills.sets}}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}} - {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
@ -15,7 +15,7 @@
{{/if}} {{/if}}
{{#if r.employment}} {{#if r.employment}}
## EMPLOYMENT ## {{{sectionTitle "EMPLOYMENT"}}}
{{#each r.employment.history }} {{#each r.employment.history }}
{{#compare @index 4 operator="<"}} {{#compare @index 4 operator="<"}}
@ -39,7 +39,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/if}} {{/if}}
{{#if r.education}} {{#if r.education}}
## EDUCATION ## {{{sectionTitle "EDUCATION"}}}
{{#each r.education.history}} {{#each r.education.history}}
### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}) ### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -61,7 +61,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/if}} {{/if}}
{{#if r.service }} {{#if r.service }}
## SERVICE ## {{{sectionTitle "SERVICE"}}}
{{#each r.service.history}} {{#each r.service.history}}
### {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}) ### {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -75,7 +75,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/each}} {{/each}}
{{/if}} {{/if}}
{{#if r.recognition}} {{#if r.recognition}}
## RECOGNITION ## {{{sectionTitle "RECOGNITION"}}}
{{#each r.recognition}} {{#each r.recognition}}
### {{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }}) ### {{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})

View File

@ -28,7 +28,7 @@
{{#if r.info.brief}} {{#if r.info.brief}}
<hr> <hr>
<section id="summary"> <section id="summary">
<h3>About</h3> <h3>{{{sectionTitle "info" "About"}}}</h3>
<span class="fa fa-lg fa-user"></span> <span class="fa fa-lg fa-user"></span>
{{{ r.info.brief }}} {{{ r.info.brief }}}
</section> </section>
@ -39,7 +39,7 @@
<hr> <hr>
<section id="skills"> <section id="skills">
<header> <header>
<h3>Skills</h3> <h3>{{{sectionTitle "Skills"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-code"></span> <span class="fa fa-lg fa-code"></span>
@ -73,7 +73,7 @@
<hr> <hr>
<section id="employment"> <section id="employment">
<header> <header>
<h3>Employment</h3> <h3>{{{sectionTitle "Employment"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-building"></span> <span class="fa fa-lg fa-building"></span>
{{#each r.employment.history}} {{#each r.employment.history}}
@ -100,7 +100,7 @@
<hr> <hr>
<section id="education"> <section id="education">
<header> <header>
<h3>Education</h3> <h3>{{{sectionTitle "Education"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-mortar-board"></span> <span class="fa fa-lg fa-mortar-board"></span>
{{#each r.education.history}} {{#each r.education.history}}
@ -122,7 +122,7 @@
<hr> <hr>
<section id="volunteer"> <section id="volunteer">
<header> <header>
<h3>Service</h3> <h3>{{{sectionTitle "Service"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-child"></span> <span class="fa fa-lg fa-child"></span>
{{#each r.service.history}} {{#each r.service.history}}
@ -149,7 +149,7 @@
<hr> <hr>
<section id="publications"> <section id="publications">
<header> <header>
<h3>Publications</h3> <h3>{{{sectionTitle "writing" "Publications"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-pencil"></span> <span class="fa fa-lg fa-pencil"></span>
{{#each r.writing}} {{#each r.writing}}
@ -167,7 +167,7 @@
<hr> <hr>
<section id="awards"> <section id="awards">
<header> <header>
<h3>Awards</h3> <h3>{{{sectionTitle "recognition" "Awards"}}}</h3>
</header> </header>
<span class="fa fa-lg fa-trophy"></span> <span class="fa fa-lg fa-trophy"></span>
{{#each r.recognition}} {{#each r.recognition}}

View File

@ -7,7 +7,7 @@
{{#if r.info.brief }}{{{ r.info.brief }}}{{/if}} {{#if r.info.brief }}{{{ r.info.brief }}}{{/if}}
{{#if r.skills}} {{#if r.skills}}
SKILLS ------------------------------------------------------------------------- {{{sectionTitle "SKILLS"}}} -------------------------------------------------------------------------
{{#each r.skills.sets}} {{#each r.skills.sets}}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}} - {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
@ -15,7 +15,7 @@ SKILLS -------------------------------------------------------------------------
{{/if}} {{/if}}
{{#if r.employment}} {{#if r.employment}}
EMPLOYMENT --------------------------------------------------------------------- {{{sectionTitle "EMPLOYMENT"}}} ---------------------------------------------------------------------
{{#each r.employment.history }} {{#each r.employment.history }}
{{#compare @index 4 operator="<"}} {{#compare @index 4 operator="<"}}
@ -39,7 +39,7 @@ Prior to {{{ employer }}}, I worked on a range of projects for companies large a
{{/if}} {{/if}}
{{#if r.education}} {{#if r.education}}
EDUCATION ---------------------------------------------------------------------- {{{sectionTitle "EDUCATION"}}} ----------------------------------------------------------------------
{{#each r.education.history}} {{#each r.education.history}}
{{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}) {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -52,7 +52,7 @@ EDUCATION ----------------------------------------------------------------------
{{/each}} {{/each}}
{{/if}} {{/if}}
{{#if r.writing}} {{#if r.writing}}
WRITING ------------------------------------------------------------------------ {{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
{{#each r.writing}} {{#each r.writing}}
{{{ title }}} ({{formatDate safe.date 'YYYY-MM' }}) {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
@ -61,7 +61,7 @@ WRITING ------------------------------------------------------------------------
{{/if}} {{/if}}
{{#if r.service }} {{#if r.service }}
SERVICE ------------------------------------------------------------------------ {{{sectionTitle "SERVICE"}}} ------------------------------------------------------------------------
{{#each r.service.history}} {{#each r.service.history}}
{{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}) {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
@ -75,7 +75,7 @@ SERVICE ------------------------------------------------------------------------
{{/each}} {{/each}}
{{/if}} {{/if}}
{{#if r.recognition}} {{#if r.recognition}}
RECOGNITION -------------------------------------------------------------------- {{{sectionTitle "RECOGNITION"}}} --------------------------------------------------------------------
{{#each r.recognition}} {{#each r.recognition}}
{{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }}) {{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})

View File

@ -16,7 +16,7 @@
</w:pict> </w:pict>
</w:r> </w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA"> <w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>EDUCATION</w:t> <w:t>{{{sectionTitle "EDUCATION"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
</wx:pBdrGroup> </wx:pBdrGroup>

View File

@ -16,7 +16,7 @@
</w:pict> </w:pict>
</w:r> </w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA"> <w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>EMPLOYMENT</w:t> <w:t>{{{sectionTitle "EMPLOYMENT"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
</wx:pBdrGroup> </wx:pBdrGroup>

View File

@ -36,7 +36,7 @@
</w:pict> </w:pict>
</w:r> </w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA"> <w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>ABOUT</w:t> <w:t>{{{sectionTitle "info" "ABOUT"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
</wx:pBdrGroup> </wx:pBdrGroup>

View File

@ -17,7 +17,7 @@
</w:pict> </w:pict>
</w:r> </w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA"> <w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>RECOGNITION</w:t> <w:t>{{{sectionTitle "RECOGNITION"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
</wx:pBdrGroup> </wx:pBdrGroup>

View File

@ -17,7 +17,7 @@
</w:pict> </w:pict>
</w:r> </w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA"> <w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>SERVICE</w:t> <w:t>{{{sectionTitle "SERVICE"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
</wx:pBdrGroup> </wx:pBdrGroup>

View File

@ -37,7 +37,7 @@
</w:pict> </w:pict>
</w:r> </w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA"> <w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>SKILLS</w:t> <w:t>{{{sectionTitle "SKILLS"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
</wx:pBdrGroup> </wx:pBdrGroup>

View File

@ -17,7 +17,7 @@
</w:pict> </w:pict>
</w:r> </w:r>
<w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA"> <w:r wsp:rsidR="00C146CA" wsp:rsidRPr="00C146CA">
<w:t>WRITING</w:t> <w:t>{{{sectionTitle "WRITING"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
</wx:pBdrGroup> </wx:pBdrGroup>

View File

@ -4,7 +4,7 @@
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r wsp:rsidRPr="00C146CA"> <w:r wsp:rsidRPr="00C146CA">
<w:t>EDUCATION</w:t> <w:t>{{{sectionTitle "EDUCATION"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>

View File

@ -4,7 +4,7 @@
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r wsp:rsidRPr="00C146CA"> <w:r wsp:rsidRPr="00C146CA">
<w:t>EMPLOYMENT</w:t> <w:t>{{{sectionTitle "EMPLOYMENT"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>

View File

@ -5,7 +5,7 @@
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r wsp:rsidRPr="00C146CA"> <w:r wsp:rsidRPr="00C146CA">
<w:t>RECOGNITION</w:t> <w:t>{{{sectionTitle "RECOGNITION"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>

View File

@ -5,7 +5,7 @@
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r wsp:rsidRPr="00C146CA"> <w:r wsp:rsidRPr="00C146CA">
<w:t>SERVICE</w:t> <w:t>{{{sectionTitle "SERVICE"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>

View File

@ -5,7 +5,7 @@
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r wsp:rsidRPr="00C146CA"> <w:r wsp:rsidRPr="00C146CA">
<w:t>SKILLS</w:t> <w:t>{{{sectionTitle "SKILLS"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>
<w:tbl> <w:tbl>

View File

@ -5,7 +5,7 @@
<w:pStyle w:val="Heading1"/> <w:pStyle w:val="Heading1"/>
</w:pPr> </w:pPr>
<w:r wsp:rsidRPr="00C146CA"> <w:r wsp:rsidRPr="00C146CA">
<w:t>WRITING</w:t> <w:t>{{{sectionTitle "WRITING"}}}</w:t>
</w:r> </w:r>
</w:p> </w:p>

View File

@ -35,7 +35,7 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<th>Skill</th> <th>{{{sectionTitle "Skills"}}}</th>
<th>Keywords</th> <th>Keywords</th>
</tr> </tr>
</thead> </thead>
@ -56,7 +56,7 @@
{{#if r.employment}} {{#if r.employment}}
<section id="employment"> <section id="employment">
<header> <header>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2> <h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2>
</header> </header>
{{#each r.employment.history }} {{#each r.employment.history }}
@ -99,7 +99,7 @@
{{# if r.education}} {{# if r.education}}
<section id="education"> <section id="education">
<header> <header>
<h2><span class="fa fa-mortar-board"></span> Education</h2> <h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2>
</header> </header>
{{#each r.education.history}} {{#each r.education.history}}
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3> <h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
@ -111,7 +111,7 @@
{{#if r.service}} {{#if r.service}}
<section id="volunteer"> <section id="volunteer">
<header> <header>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> Service</h2> <h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2>
</header> </header>
{{#each r.service.history}} {{#each r.service.history}}
<h3><em>{{{ position }}}</em>, <h3><em>{{{ position }}}</em>,
@ -137,7 +137,7 @@
{{#if r.writing}} {{#if r.writing}}
<section id="publications"> <section id="publications">
<header> <header>
<h2><span class="fa fa-book"></span> Writing</h2> <h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2>
</header> </header>
{{#each r.writing }} {{#each r.writing }}
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>, <h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
@ -150,7 +150,7 @@
{{# if r.recognition}} {{# if r.recognition}}
<section id="awards"> <section id="awards">
<header> <header>
<h2><span class="fa fa-trophy"></span> Awards</h2> <h2><span class="fa fa-trophy"></span> {{{"sectionTitle" "recognition" "Awards"}}}</h2>
</header> </header>
{{#each r.recognition}} {{#each r.recognition}}
<h4><span class="res-label">{{{ title }}}</span>, {{{ from }}} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4> <h4><span class="res-label">{{{ title }}}</span>, {{{ from }}} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>

View File

@ -11,7 +11,7 @@
<body> <body>
<main> <main>
<header> <header>
<h1>{{initialWords r.name }} <span style="color: #C00000;">{{lastWord r.name }}</span></h1> <h1>{{{initialWords r.name }}} <span style="color: #C00000;">{{{lastWord r.name }}}</span></h1>
<span class="label">{{{ r.info.label }}}</span> <span class="label">{{{ r.info.label }}}</span>
<p id="contact"> <p id="contact">
{{#if r.contact.email}}<span class="email"><a href="mailto:{{ RAW.contact.email }}">{{{ r.contact.email }}}</a></span>{{/if}} {{#if r.contact.email}}<span class="email"><a href="mailto:{{ RAW.contact.email }}">{{{ r.contact.email }}}</a></span>{{/if}}
@ -36,7 +36,7 @@
<table> <table>
<thead> <thead>
<tr> <tr>
<th>Skill</th> <th>{{{sectionTitle "Skills"}}}</th>
<th>Keywords</th> <th>Keywords</th>
</tr> </tr>
</thead> </thead>
@ -57,16 +57,16 @@
{{#if r.employment}} {{#if r.employment}}
<section id="employment"> <section id="employment">
<header> <header>
<h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2> <h2><span class="fa fa-building" style="vertical-align: top;"></span> {{{sectionTitle "Employment"}}}</h2>
</header> </header>
{{#each r.employment.history }} {{#each r.employment.history }}
{{#compare @index 4 operator="<"}} {{#compare @index 4 operator="<"}}
<h3><em>{{ position }}</em>, <h3><em>{{ position }}</em>,
{{#if url }} {{#if url }}
<a href="{{ url }}">{{ employer }}</a> <a href="{{ url }}">{{{ employer }}}</a>
{{else}} {{else}}
{{ employer }} {{{ employer }}}
{{/if}} {{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3> <span class="tenure">{{formatDate safe.start 'YYYY-MM' }} &mdash; {{formatDate safe.end 'YYYY-MM' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p> <p style="clear: both;">{{{ summary }}}</p>
@ -100,7 +100,7 @@
{{# if r.education}} {{# if r.education}}
<section id="education"> <section id="education">
<header> <header>
<h2><span class="fa fa-mortar-board"></span> Education</h2> <h2><span class="fa fa-mortar-board"></span> {{{sectionTitle "Education"}}}</h2>
</header> </header>
{{#each r.education.history}} {{#each r.education.history}}
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3> <h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
@ -112,21 +112,21 @@
{{#if r.service}} {{#if r.service}}
<section id="volunteer"> <section id="volunteer">
<header> <header>
<h2><span class="fa fa-child" style="vertical-align: top;"></span> Service</h2> <h2><span class="fa fa-child" style="vertical-align: top;"></span> {{{sectionTitle "Service"}}}</h2>
</header> </header>
{{#each r.service.history}} {{#each r.service.history}}
<h3><em>{{ position }}</em>, <h3><em>{{{ position }}}</em>,
{{#if url}} {{#if url}}
<a href="{{ url }}">{{ organization }}</a> <a href="{{ url }}">{{{ organization }}}</a>
{{else}} {{else}}
{{ organization }} {{{ organization }}}
{{/if}} {{/if}}
<span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3> <span class="tenure">{{formatDate safe.start 'YYYY' }} &mdash; {{formatDate safe.end 'YYYY' }}<span></h3>
<p style="clear: both;">{{{ summary }}}</p> <p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}} {{#if highlights}}
<ul> <ul>
{{#each highlights}} {{#each highlights}}
<li>{{ this }}</li> <li>{{{ this }}}</li>
{{/each}} {{/each}}
</ul> </ul>
{{/if}} {{/if}}
@ -138,10 +138,10 @@
{{#if r.writing}} {{#if r.writing}}
<section id="publications"> <section id="publications">
<header> <header>
<h2><span class="fa fa-book"></span> Writing</h2> <h2><span class="fa fa-book"></span> {{{sectionTitle "Writing"}}}</h2>
</header> </header>
{{#each r.writing }} {{#each r.writing }}
<h3><em>{{#if url}}<a href="{{ url }}">{{ title }}</a>{{else}}{{ title }}{{/if}}</em>, <h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
{{{ publisher.name }}} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3> {{{ publisher.name }}} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
{{# if summary}}{{{ summary }}}{{/if}} {{# if summary}}{{{ summary }}}{{/if}}
{{/each}} {{/each}}
@ -151,10 +151,10 @@
{{# if r.recognition}} {{# if r.recognition}}
<section id="awards"> <section id="awards">
<header> <header>
<h2><span class="fa fa-trophy"></span> Awards</h2> <h2><span class="fa fa-trophy"></span> {{{"sectionTitle" "recognition" "Awards"}}}</h2>
</header> </header>
{{#each r.recognition}} {{#each r.recognition}}
<h4><span class="res-label">{{ title }}</span>, {{ from }} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4> <h4><span class="res-label">{{{ title }}}</span>, {{{ from }}} <span class="tenure">{{formatDate safe.date 'YYYY' }}</span></h4>
{{{ summary }}} {{{ summary }}}
{{/each}} {{/each}}
</section> </section>