mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2025-07-07 02:31:06 +01:00
Compact: Migrate to Handlebars.
This commit is contained in:
@ -1,50 +1,90 @@
|
||||
{#
|
||||
{{!
|
||||
|
||||
compact/txt.txt
|
||||
A plain text resume template for FluentCV's "compact" theme.
|
||||
|
||||
#}
|
||||
}}
|
||||
{{ r.name }}
|
||||
{% 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.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.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
|
||||
{% r.skills.forEach( function( skill ) { %}
|
||||
- {{ skill.name }}: {{ skill.level }}
|
||||
{% }); } %}
|
||||
{{#if r.employment}}
|
||||
EMPLOYMENT ---------------------------------------------------------------------
|
||||
|
||||
{% if ( r.employment.history && r.employment.history.length ) { %}EMPLOYMENT
|
||||
{% r.employment.history.forEach( function( proj, idx, ar) { %}
|
||||
{{ proj.employer }} ({{ proj.safe.start.format('YYYY-MM') }} — {{ proj.safe.end.format('YYYY-MM') }})
|
||||
{{ proj.summary }}
|
||||
{% if( proj.highlights ) { %}{% proj.highlights.forEach( function( high ) { %}
|
||||
- {{ high }}
|
||||
{% }); } }); } %}
|
||||
{{#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.education && r.education.history ) { %}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 }}
|
||||
{% }); } }); } %}
|
||||
{{/compare}}
|
||||
{{#compare @index 4 operator=">="}}
|
||||
{{#compare @index 4 operator="=="}}
|
||||
Previously...
|
||||
Prior to {{{ employer }}}, I worked on a range of projects for companies large and small.
|
||||
{{/compare}}
|
||||
- {{{ position }}}, {{{ employer }}}
|
||||
{{/compare}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
|
||||
{% if ( r.service && r.service.history ) { %}VOLUNTEER
|
||||
{% r.service.history.forEach( function( srv, idx, ar) { %}
|
||||
{{ 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.education}}
|
||||
EDUCATION ----------------------------------------------------------------------
|
||||
|
||||
{% if ( r.writing && r.writing.length ) { %}WRITING
|
||||
{% r.writing.forEach( function( wri, idx, ar) { %}
|
||||
{{ wri.title }} ({{ wri.safe.date.format('YYYY-MM') }})
|
||||
{{ wri.summary }}
|
||||
{% }); } %}
|
||||
{{#each r.education.history}}
|
||||
{{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{#if 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}}
|
||||
|
Reference in New Issue
Block a user