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

Introduce global Markdown partials.

This commit is contained in:
hacksalot 2016-01-11 12:01:49 -05:00
parent 6b2496c63b
commit 31a358befd
8 changed files with 112 additions and 0 deletions

17
partials/md/education.hbs Normal file
View File

@ -0,0 +1,17 @@
{{#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}}

View File

@ -0,0 +1,19 @@
{{#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}}

19
partials/md/projects.hbs Normal file
View File

@ -0,0 +1,19 @@
{{#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}}

View File

@ -0,0 +1,8 @@
{{#section 'recognition'}}
## {{{sectionTitle "RECOGNITION"}}}
{{#each r.recognition}}
### *{{{ title }}}*, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}}
{{/each}}
{{/section}}

17
partials/md/samples.hbs Normal file
View File

@ -0,0 +1,17 @@
{{#section 'samples'}}
## {{{sectionTitle "SAMPLES"}}}
{{#each r.samples.history }}
{{#if url}}
### [{{{ title }}}]({{{ url }}}) ({{formatDate safe.date 'YYYY-MM' }})
{{else}}
### {{{ title }}} ({{formatDate safe.date}})
{{/if}}
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}

17
partials/md/service.hbs Normal file
View File

@ -0,0 +1,17 @@
{{#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}}

7
partials/md/skills.hbs Normal file
View File

@ -0,0 +1,7 @@
{{#section "skills"}}
## {{{sectionTitle "SKILLS"}}}
{{#each r.skills.sets}}
- {{{ name }}}: {{#each this.skills}}{{{ this }}} {{/each}}
{{/each}}
{{/section}}

8
partials/md/writing.hbs Normal file
View File

@ -0,0 +1,8 @@
{{#section 'writing'}}
## WRITING
{{#each r.writing}}
### {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
{{{ summary }}}
{{/each}}
{{/section}}