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

Patch Minimist theme.

This commit is contained in:
hacksalot 2016-01-04 17:29:21 -05:00
parent f49df02d6a
commit cf1360bc77
5 changed files with 101 additions and 167 deletions

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>{{{sectionTitle "Skills"}}}</w:t> <w:t>{% print(h.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>{{{sectionTitle "Employment"}}}</w:t> <w:t>{% print(h.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>{{{sectionTitle "Education"}}}</w:t> <w:t>{% print(h.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>{{{sectionTitle "info" "About"}}}</h3> <h3>{% print(h.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>{{{sectionTitle "Skills"}}}</h3> <h3>{% print(h.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>{{{sectionTitle "Employment"}}}</h3> <h3>{% print(h.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>{{{sectionTitle "Education"}}}</h3> <h3>{% print(h.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>{{{sectionTitle "recognition" "Awards"}}}</h3> <h3>{% print( h.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>{{{sectionTitle "writing" "Publications"}}}</h3> <h3>{% print( h.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>{{{sectionTitle "service" "Volunteer Work"}}}</h3> <h3>{% print(h.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,84 +1,54 @@
{{ 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.info.brief }}{{{ r.info.brief }}}{{/if}} {% if (r.contact.email) { %}Email: {{ r.contact.email }}{% } %}
{% if (r.contact.phone) { %}Tel: {{ r.contact.phone }}{% } %}
{% if (r.contact.website) { %}Web: {{ r.contact.website }}{% } %}
{{#if r.skills}} {% if ( r.info.brief && r.info.brief.length ) { %}{{ r.info.brief }}{% } %}
## {{{sectionTitle "SKILLS"}}}
{{#each r.skills.sets}} {% if ( r.skills && r.skills.sets ) { %}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}} ## {% print(h.sectionTitle('Skills')) %}
{{/each}} {% r.skills.sets.forEach( function( set, idx, ar) { %}
{{/if}} - **{{ set.name }}**: {{ set.skills.join(', ') }}
{% }); } %}
{{#if r.employment}} {% if ( r.employment.history && r.employment.history.length ) { %}
## {{{sectionTitle "EMPLOYMENT"}}} ## {% print(h.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 }}
{% }); } }); } %}
{{#each r.employment.history }} {% if ( r.education.history && r.education.history.length ) { %}
{{#compare @index 4 operator="<"}} ## {% print(h.sectionTitle('Education')) %}
### {{{ position }}}, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }}) {% r.education.history.forEach( function( edu, idx, ar) { %}
{{{ summary }}} ### {{ edu.institution }} ({{ edu.safe.start.format('MMM YYYY') }} — {{ edu.safe.end.format('MMM YYYY') }})
{{#if highlights}} {{ edu.area }}
{{#each highlights}} {% if( edu.curriculum ) { %}{% edu.curriculum.forEach( function( course, idx, ar) { %}
- {{{ this }}} - {{ course }}
{{/each}} {% }); } }); } %}
{{/if}}
{{/compare}} {% if ( r.writing && r.writing.length ) { %}
{{#compare @index 4 operator=">="}} ## {% print(h.sectionTitle('publications', 'Writing')) %}
{{#compare @index 4 operator="=="}} {% r.writing.forEach( function( pub, idx, ar) { %}
### Previously... ### {{ pub.title }} ({{ pub.safe.date.format('MMM YYYY') }})
Prior to {{{ employer }}}, I worked on a range of projects for companies large and small. {{ pub.publisher }}
{{/compare}} {{ pub.summary }}
- {{{ position }}}, {{{ employer }}} {% }); } %}
{{/compare}}
{{/each}}
{{/if}}
{{#if r.education}} {% if ( r.service.history && r.service.history.length ) { %}
## {{{sectionTitle "EDUCATION"}}} ## {% print(h.sectionTitle('service','Volunteer')) %}
{% r.service.history.forEach( function( vol, idx, ar) { %}
### {{ vol.organization }} ({{ vol.safe.start.format('MMM YYYY') }} — {{ vol.safe.end.format('MMM YYYY') }})
{{ vol.summary }}
{% }); } %}
{{#each r.education.history}} {% if ( r.recognition && r.recognition.length ) { %}
### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}) ## {% print(h.sectionTitle('Recognition')) %}
{{#if summary }} {% r.recognition.forEach( function( awd, idx, ar) { %}
{{{ summary }}} ### *{{ awd.title }}*, {{ awd.from }} ({{ awd.safe.date.format('MMM YYYY') }})
{{/if}} {{ awd.summary }}
{{#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>{{{sectionTitle "info" "About"}}}</h3> <h3>{% print(h.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>{{{sectionTitle "Skills"}}}</h3> <h3>{% print(h.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>{{{sectionTitle "Employment"}}}</h3> <h3>{% print(h.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>{{{sectionTitle "Education"}}}</h3> <h3>{% print(h.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>{{{sectionTitle "recognition" "Awards"}}}</h3> <h3>{% print( h.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>{{{sectionTitle "writing" "Publications"}}}</h3> <h3>{% print( h.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) { %}
@ -162,7 +162,7 @@ engine: Underscore
<hr> <hr>
<section id="volunteer"> <section id="volunteer">
<header> <header>
<h3>{{{sectionTitle "service" "Volunteer Work"}}}</h3> <h3>{% print(h.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,84 +1,48 @@
{{ r.name }} {{ r.name }}
{{#if r.contact.email }}Email: {{{ r.contact.email }}}{{/if}} {% if (r.contact.email) { %}Email: {{ r.contact.email }}{% } %}
{{#if r.contact.phone }}Tel: {{{ r.contact.phone }}}{{/if}} {% if (r.contact.phone) { %}Tel: {{ r.contact.phone }}{% } %}
{{#if r.contact.website }}Web: {{{ r.contact.website }}}{{/if}} {% if (r.contact.website) { %}Web: {{ r.contact.website }}{% } %}
================================================================================
{{#if r.info.brief }}{{{ r.info.brief }}}{{/if}} ***
{{#if r.skills}} {% if ( r.info.brief && r.info.brief.length ) { %}{{ r.info.brief }}{% } %}
{{{sectionTitle "SKILLS"}}} -------------------------------------------------------------------------
{{#each r.skills.sets}}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
{{/each}}
{{/if}}
{{#if r.employment}} {% if ( r.skills && r.skills.sets && r.skills.sets.length ) { %}SKILLS
{{{sectionTitle "EMPLOYMENT"}}} --------------------------------------------------------------------- {% r.skills.sets.forEach( function( set ) { %}
- {{ 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}}
{{/compare}} {% if ( r.employment && r.employment.history ) { %}{% print(h.sectionTitle('EMPLOYMENT')) %}
{{#compare @index 4 operator=">="}} {% 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') }})
Previously... {{ proj.summary }}
Prior to {{{ employer }}}, I worked on a range of projects for companies large and small. {% if( proj.highlights ) { %}{% proj.highlights.forEach( function( high ) { %}
{{/compare}} - {{ high }}
- {{{ position }}}, {{{ employer }}} {% }); } }); } %}
{{/compare}}
{{/each}}
{{/if}}
{{#if r.education}} {% if ( r.education && r.education.history ) { %}{% print(h.sectionTitle('EDUCATION')) %}
{{{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.summary }}
{% if( edu.courses ) { %}{% edu.courses.forEach( function( course ) { %}
- {{ course }}
{% }); } }); } %}
{{#each r.education.history}} {% if ( r.service && r.service.history ) { %}{% print(h.sectionTitle('service', 'VOLUNTEER')) %}
{{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}) {% r.service.history.forEach( function( srv, idx, ar) { %}
{{#if summary }} {{ srv.organization }} ({{ srv.safe.start.format('YYYY-MM') }} — {{ srv.safe.end.format('YYYY-MM') }})
{{{ summary }}} {{ srv.summary }}
{{/if}} {% if( srv.highlights ) { %}{% srv.highlights.forEach( function( high ) { %}
{{#if courses}} - {{ high }}
{{#each courses}} {% }); } }); } %}
- {{{ this }}}{{/each}}{{/if}}
{{/each}}
{{/if}}
{{#if r.writing}}
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
{{#each r.writing}} {% if ( r.writing && r.writing.length ) { %}{% print(h.sectionTitle('EMPLOYMENT')) %}
{{{ title }}} ({{formatDate safe.date 'YYYY-MM' }}) {% r.writing.forEach( function( wri, idx, ar) { %}
{{{ summary }}} {{ wri.title }} ({{ wri.safe.date.format('YYYY-MM') }})
{{/each}} {{ wri.summary }}
{{/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}}