mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2025-05-05 13:27:08 +01:00
All: Better section handling & add projects.
This commit is contained in:
@ -485,13 +485,13 @@
|
||||
</w:r>
|
||||
</w:hlink>
|
||||
</w:p>
|
||||
{{#hasSection "info"}}{{> info }}{{/hasSection}}
|
||||
{{#hasSection "skills"}}{{> skills }}{{/hasSection}}
|
||||
{{#hasSection "employment"}}{{> employment }}{{/hasSection}}
|
||||
{{#hasSection "education"}}{{> education }}{{/hasSection}}
|
||||
{{#hasSection "service"}}{{> service }}{{/hasSection}}
|
||||
{{#hasSection "writing"}}{{> writing }}{{/hasSection}}
|
||||
{{#hasSection "recognition"}}{{> recognition }}{{/hasSection}}
|
||||
{{#section "info"}}{{> info }}{{/section}}
|
||||
{{#section "skills"}}{{> skills }}{{/section}}
|
||||
{{#section "employment"}}{{> employment }}{{/section}}
|
||||
{{#section "education"}}{{> education }}{{/section}}
|
||||
{{#section "service"}}{{> service }}{{/section}}
|
||||
{{#section "writing"}}{{> writing }}{{/section}}
|
||||
{{#section "recognition"}}{{> recognition }}{{/section}}
|
||||
<w:sectPr wsp:rsidR="00B43FDC" wsp:rsidRPr="000A3AF0" wsp:rsidSect="001B7422">
|
||||
<w:pgSz w:w="12240" w:h="15840"/>
|
||||
<w:pgMar w:top="1440" w:right="1440" w:bottom="1440" w:left="1440" w:header="720" w:footer="720" w:gutter="0"/>
|
||||
|
@ -91,7 +91,7 @@
|
||||
</section>
|
||||
{{/if}}
|
||||
|
||||
{{#hasSection 'projects'}}
|
||||
{{#section 'projects'}}
|
||||
<hr>
|
||||
<section id="projects">
|
||||
<header>
|
||||
@ -116,9 +116,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection 'education'}}
|
||||
{{#section 'education'}}
|
||||
<hr>
|
||||
<section id="education">
|
||||
<header>
|
||||
@ -138,7 +138,7 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#if r.service}}
|
||||
<hr>
|
||||
|
@ -1,38 +1,68 @@
|
||||
{{ 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}}
|
||||
{{#has 'contact.email' }}Email: {{{ r.contact.email }}}{{/has}}
|
||||
{{#has 'contact.phone' }}Tel: {{{ r.contact.phone }}}{{/has}}
|
||||
{{#has 'contact.website' }}Web: {{{ r.contact.website }}}{{/has}}
|
||||
|
||||
{{#if r.info.brief }}{{{ r.info.brief }}}{{/if}}
|
||||
{{#has "info.brief" }}{{{ r.info.brief }}}{{/has}}
|
||||
|
||||
{{#if r.skills}}
|
||||
{{#section "skills"}}
|
||||
## {{{sectionTitle "SKILLS"}}}
|
||||
|
||||
{{#each r.skills.sets}}
|
||||
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{/section}}
|
||||
|
||||
{{#if r.employment}}
|
||||
{{#section "employment"}}
|
||||
## {{{sectionTitle "EMPLOYMENT"}}}
|
||||
|
||||
{{#each r.employment.history }}
|
||||
### {{{ position }}}, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
|
||||
|
||||
{{#if url}}
|
||||
### *{{{ position }}}*, [{{{ employer }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{else}}
|
||||
### *{{{ position }}}*, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{/if}}
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
{{#each highlights}}
|
||||
- {{{ this }}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
{{/section}}
|
||||
|
||||
{{#section 'projects'}}
|
||||
## {{{sectionTitle "PROJECTS"}}}
|
||||
|
||||
{{#each r.projects }}
|
||||
{{#if url }}
|
||||
### *{{{camelCase role }}}*, [{{{ title }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{else}}
|
||||
### *{{{camelCase role }}}*, {{{ title }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{/if}}
|
||||
{{{ description }}}
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
{{#each highlights}}
|
||||
- {{{ . }}}
|
||||
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{/section}}
|
||||
|
||||
{{#if r.education}}
|
||||
{{#section 'education'}}
|
||||
## {{{sectionTitle "EDUCATION"}}}
|
||||
|
||||
{{#each r.education.history}}
|
||||
{{#if url}}
|
||||
### [{{{ institution }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{else}}
|
||||
### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{/if}}
|
||||
{{#if summary }}
|
||||
{{{ summary }}}
|
||||
{{/if}}
|
||||
@ -40,35 +70,39 @@
|
||||
{{#each courses}}
|
||||
- {{{ this }}}{{/each}}{{/if}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{#if r.writing}}
|
||||
{{/section}}
|
||||
{{#section 'writing'}}
|
||||
## WRITING
|
||||
|
||||
{{#each r.writing}}
|
||||
### {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
|
||||
{{{ summary }}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{/section}}
|
||||
|
||||
{{#if r.service }}
|
||||
{{#section 'service'}}
|
||||
## {{{sectionTitle "SERVICE"}}}
|
||||
|
||||
{{#each r.service.history}}
|
||||
{{#each r.service.history }}
|
||||
{{#if url}}
|
||||
### [{{{ organization }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{else}}
|
||||
### {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{/if}}
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
{{#each highlights}}
|
||||
- {{{ this }}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{#if r.recognition}}
|
||||
{{/section}}
|
||||
|
||||
{{#section 'recognition'}}
|
||||
## {{{sectionTitle "RECOGNITION"}}}
|
||||
|
||||
{{#each r.recognition}}
|
||||
### {{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
|
||||
### *{{{ title }}}*, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
|
||||
{{{ summary }}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{/section}}
|
||||
|
@ -96,7 +96,7 @@
|
||||
</section>
|
||||
{{/if}}
|
||||
|
||||
{{#hasSection 'projects'}}
|
||||
{{#section 'projects'}}
|
||||
<hr>
|
||||
<section id="projects">
|
||||
<header>
|
||||
@ -121,9 +121,9 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection 'education'}}
|
||||
{{#section 'education'}}
|
||||
<hr>
|
||||
<section id="education">
|
||||
<header>
|
||||
@ -143,7 +143,7 @@
|
||||
{{/each}}
|
||||
|
||||
</section>
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#if r.service}}
|
||||
<hr>
|
||||
|
@ -1,24 +1,24 @@
|
||||
{{ 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}}
|
||||
{{#has 'contact.email' }}Email: {{{ r.contact.email }}}{{/has}}
|
||||
{{#has 'contact.phone' }}Tel: {{{ r.contact.phone }}}{{/has}}
|
||||
{{#has 'contact.website' }}Web: {{{ r.contact.website }}}{{/has}}
|
||||
================================================================================
|
||||
|
||||
{{#if r.info.brief }}{{{ r.info.brief }}}{{/if}}
|
||||
{{#has 'info.brief' }}{{{ r.info.brief }}}{{/has}}
|
||||
|
||||
{{#hasSection "skills"}}
|
||||
{{#section "skills"}}
|
||||
{{{sectionTitle "SKILLS"}}} -------------------------------------------------------------------------
|
||||
|
||||
{{#each r.skills.sets}}
|
||||
- {{{ name }}}: {{#each skills}}{{{ this }}} {{/each}}
|
||||
{{/each}}
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "employment"}}
|
||||
{{#section "employment"}}
|
||||
{{{sectionTitle "EMPLOYMENT"}}} ---------------------------------------------------------------------
|
||||
|
||||
{{#each r.employment.history }}
|
||||
{{{ position }}}, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{{ position }}}, {{{ employer }}} ({{dateRange .}})
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
{{#each highlights}}
|
||||
@ -27,13 +27,13 @@
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection 'projects'}}
|
||||
{{#section 'projects'}}
|
||||
{{{sectionTitle "PROJECTS"}}} -----------------------------------------------------------------------
|
||||
|
||||
{{#each r.projects }}
|
||||
{{{ title }}}, {{{ role }}} ({{formatDate safe.start 'YYYY-MM' }} -- {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{{ title }}}, {{{ role }}} ({{dateRange .}})
|
||||
{{{ description }}}
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
@ -42,13 +42,13 @@
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "education"}}
|
||||
{{#section "education"}}
|
||||
{{{sectionTitle "EDUCATION"}}} ----------------------------------------------------------------------
|
||||
|
||||
{{#each r.education.history}}
|
||||
{{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{{ institution }}} ({{dateRange .}})
|
||||
{{#if summary }}
|
||||
{{{ summary }}}
|
||||
{{/if}}
|
||||
@ -59,22 +59,22 @@
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "writing"}}
|
||||
{{#section "writing"}}
|
||||
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
|
||||
|
||||
{{#each r.writing}}
|
||||
{{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
|
||||
{{{ title }}}{{#has 'safe.date'}} ({{formatDate safe.date 'YYYY-MM' }}){{/has}}
|
||||
{{{ summary }}}
|
||||
{{/each}}
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "service" }}
|
||||
{{#section "service" }}
|
||||
{{{sectionTitle "SERVICE"}}} ------------------------------------------------------------------------
|
||||
|
||||
{{#each r.service.history}}
|
||||
{{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
||||
{{{ organization }}} ({{dateRange .}})
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
{{#each highlights}}
|
||||
@ -82,13 +82,13 @@
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
||||
{{#hasSection "recognition"}}
|
||||
{{#section "recognition"}}
|
||||
{{{sectionTitle "RECOGNITION"}}} --------------------------------------------------------------------
|
||||
|
||||
{{#each r.recognition}}
|
||||
{{{ title }}}, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
|
||||
{{{ summary }}}
|
||||
{{/each}}
|
||||
{{/hasSection}}
|
||||
{{/section}}
|
||||
|
Reference in New Issue
Block a user