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

Improve consistency of Markdown partials.

This commit is contained in:
hacksalot 2016-01-11 19:04:56 -05:00
parent fa00a9c640
commit b6bb1f3d9a
8 changed files with 37 additions and 6 deletions

View File

@ -3,15 +3,17 @@
{{#each r.education.history}} {{#each r.education.history}}
{{#if url}} {{#if url}}
### [{{{ institution }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }}) ### [{{{ institution }}}]({{{ url }}}) ({{dateRange .}})
{{else}} {{else}}
### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }}) ### {{{ institution }}} ({{dateRange .}})
{{/if}} {{/if}}
{{#if summary }} {{#if summary }}
{{{ summary }}} {{{ summary }}}
{{/if}} {{/if}}
{{#if courses}} {{#if courses}}
{{#each courses}} {{#each courses}}
- {{{ this }}}{{/each}}{{/if}} - {{{ this }}}{{/each}}{{/if}}
{{/each}} {{/each}}
{{/section}} {{/section}}

View File

@ -2,12 +2,12 @@
## {{{sectionTitle "EMPLOYMENT"}}} ## {{{sectionTitle "EMPLOYMENT"}}}
{{#each r.employment.history }} {{#each r.employment.history }}
{{#if url}} {{#if url}}
### *{{{ position }}}*, [{{{ employer }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }}) ### *{{{ position }}}*, [{{{ employer }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }})
{{else}} {{else}}
### *{{{ position }}}*, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }}) ### *{{{ position }}}*, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }})
{{/if}} {{/if}}
{{{ summary }}} {{{ summary }}}
{{#if highlights}} {{#if highlights}}
{{#each highlights}} {{#each highlights}}

View File

@ -7,6 +7,7 @@
{{else}} {{else}}
### *{{{camelCase role }}}*, {{{ title }}} ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }}) ### *{{{camelCase role }}}*, {{{ title }}} ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }})
{{/if}} {{/if}}
{{{ description }}} {{{ description }}}
{{{ summary }}} {{{ summary }}}
{{#if highlights}} {{#if highlights}}
@ -15,5 +16,6 @@
{{/each}} {{/each}}
{{/if}} {{/if}}
{{/each}} {{/each}}
{{/section}} {{/section}}

View File

@ -3,6 +3,8 @@
{{#each r.recognition}} {{#each r.recognition}}
### *{{{ title }}}*, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }}) ### *{{{ title }}}*, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}} {{{ summary }}}
{{/each}} {{/each}}
{{/section}} {{/section}}

View File

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

View File

@ -3,15 +3,17 @@
{{#each r.service.history }} {{#each r.service.history }}
{{#if url}} {{#if url}}
### [{{{ organization }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }}) ### *{{{ position }}}*, [{{{ organization }}}]({{{ url }}}) ({{dateRange.}})
{{else}} {{else}}
### {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }}) ### *{{{ position }}}*, {{{ organization }}} ({{dateRange .}})
{{/if}} {{/if}}
{{{ summary }}} {{{ summary }}}
{{#if highlights}} {{#if highlights}}
{{#each highlights}} {{#each highlights}}
- {{{ this }}} - {{{ this }}}
{{/each}} {{/each}}
{{/if}} {{/if}}
{{/each}} {{/each}}
{{/section}} {{/section}}

View File

@ -0,0 +1,15 @@
{{#section 'speaking'}}
## {{{sectionTitle "SPEAKING"}}}
{{#each r.speaking}}
### *{{{ title }}}*, {{{ from }}} ({{formatDate safe.date 'MMM YYYY' }})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}

View File

@ -2,7 +2,13 @@
## WRITING ## WRITING
{{#each r.writing}} {{#each r.writing}}
{{#if url}}
### [{{{ title }}}]({{{ url }}}) ({{formatDate safe.date 'YYYY-MM' }})
{{else}}
### {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }}) ### {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
{{/if}}
{{{ summary }}} {{{ summary }}}
{{/each}} {{/each}}
{{/section}} {{/section}}