mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 08:10:10 +00:00
Basis: MD: Refactor to global partials.
This commit is contained in:
parent
31a358befd
commit
acd0776cf1
@ -6,103 +6,11 @@
|
||||
|
||||
{{#has "info.brief" }}{{{ r.info.brief }}}{{/has}}
|
||||
|
||||
{{#section "skills"}}
|
||||
## {{{sectionTitle "SKILLS"}}}
|
||||
|
||||
{{#each r.skills.sets}}
|
||||
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
|
||||
{{/each}}
|
||||
{{/section}}
|
||||
|
||||
{{#section "employment"}}
|
||||
## {{{sectionTitle "EMPLOYMENT"}}}
|
||||
|
||||
{{#each r.employment.history }}
|
||||
|
||||
{{#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}}
|
||||
|
||||
{{#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}}
|
||||
{{#if courses}}
|
||||
{{#each courses}}
|
||||
- {{{ this }}}{{/each}}{{/if}}
|
||||
{{/each}}
|
||||
{{/section}}
|
||||
{{#section 'writing'}}
|
||||
## WRITING
|
||||
|
||||
{{#each r.writing}}
|
||||
### {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
|
||||
{{{ summary }}}
|
||||
{{/each}}
|
||||
{{/section}}
|
||||
|
||||
{{#section 'service'}}
|
||||
## {{{sectionTitle "SERVICE"}}}
|
||||
|
||||
{{#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}}
|
||||
{{/section}}
|
||||
|
||||
{{#section 'recognition'}}
|
||||
## {{{sectionTitle "RECOGNITION"}}}
|
||||
|
||||
{{#each r.recognition}}
|
||||
### *{{{ title }}}*, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
|
||||
{{{ summary }}}
|
||||
{{/each}}
|
||||
{{/section}}
|
||||
{{> section/skills }}
|
||||
{{> section/employment }}
|
||||
{{> section/projects }}
|
||||
{{> section/education }}
|
||||
{{> section/samples }}
|
||||
{{> section/writing }}
|
||||
{{> section/service }}
|
||||
{{> section/recognition }}
|
||||
|
Loading…
Reference in New Issue
Block a user