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}}
{{#if url}}
### [{{{ institution }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }})
### [{{{ institution }}}]({{{ url }}}) ({{dateRange .}})
{{else}}
### {{{ institution }}} ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }})
### {{{ institution }}} ({{dateRange .}})
{{/if}}
{{#if summary }}
{{{ summary }}}
{{/if}}
{{#if courses}}
{{#each courses}}
- {{{ this }}}{{/each}}{{/if}}
{{/each}}
{{/section}}

View File

@ -2,12 +2,12 @@
## {{{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}}

View File

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

View File

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

View File

@ -1,17 +1,19 @@
{{#section 'samples'}}
## {{{sectionTitle "SAMPLES"}}}
{{#each r.samples.history }}
{{#each r.samples }}
{{#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}}

View File

@ -3,15 +3,17 @@
{{#each r.service.history }}
{{#if url}}
### [{{{ organization }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }})
### *{{{ position }}}*, [{{{ organization }}}]({{{ url }}}) ({{dateRange.}})
{{else}}
### {{{ organization }}} ({{formatDate safe.start 'YYYY-MM' }}{{formatDate safe.end 'YYYY-MM' }})
### *{{{ position }}}*, {{{ organization }}} ({{dateRange .}})
{{/if}}
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}
{{/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
{{#each r.writing}}
{{#if url}}
### [{{{ title }}}]({{{ url }}}) ({{formatDate safe.date 'YYYY-MM' }})
{{else}}
### {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
{{/if}}
{{{ summary }}}
{{/each}}
{{/section}}