mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 08:10:10 +00:00
Improve date formatting consistency.
Make sure partials use either the {{date}} or {{dateRange}} helpers.
This commit is contained in:
parent
cdbb030389
commit
01cfdb00e0
@ -31,7 +31,7 @@
|
|||||||
<w:rPr>
|
<w:rPr>
|
||||||
<w:rStyle w:val="FromTo"/>
|
<w:rStyle w:val="FromTo"/>
|
||||||
</w:rPr>
|
</w:rPr>
|
||||||
<w:t>{{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY'}}</w:t>
|
<w:t>{{dateRange . 'YYYY'}}</w:t>
|
||||||
</w:r>
|
</w:r>
|
||||||
</w:p>
|
</w:p>
|
||||||
{{#either area studyType }}
|
{{#either area studyType }}
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<w:rPr>
|
<w:rPr>
|
||||||
<w:rStyle w:val="FromTo"/>
|
<w:rStyle w:val="FromTo"/>
|
||||||
</w:rPr>
|
</w:rPr>
|
||||||
<w:t>{{formatDate safe.date 'YYYY-MM'}}</w:t>
|
<w:t>{{date date}}</w:t>
|
||||||
</w:r>
|
</w:r>
|
||||||
</w:p>
|
</w:p>
|
||||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
<w:rPr>
|
<w:rPr>
|
||||||
<w:rStyle w:val="FromTo"/>
|
<w:rStyle w:val="FromTo"/>
|
||||||
</w:rPr>
|
</w:rPr>
|
||||||
<w:t>{{formatDate safe.start 'MMM YYYY'}} — {{formatDate safe.end 'MMM YYYY'}}</w:t>
|
<w:t>{{dateRange . 'MMM YYYY'}}</w:t>
|
||||||
</w:r>
|
</w:r>
|
||||||
</w:p>
|
</w:p>
|
||||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<w:rPr>
|
<w:rPr>
|
||||||
<w:rStyle w:val="FromTo"/>
|
<w:rStyle w:val="FromTo"/>
|
||||||
</w:rPr>
|
</w:rPr>
|
||||||
<w:t>{{formatDate safe.date 'YYYY-MM'}}</w:t>
|
<w:t>{{date date}}</w:t>
|
||||||
</w:r>
|
</w:r>
|
||||||
</w:p>
|
</w:p>
|
||||||
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
<w:p wsp:rsidR="00C146CA" wsp:rsidRPr="000A3AF0" wsp:rsidRDefault="00C146CA" wsp:rsidP="00C146CA">
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<w:rPr>
|
<w:rPr>
|
||||||
<w:rStyle w:val="FromTo"/>
|
<w:rStyle w:val="FromTo"/>
|
||||||
</w:rPr>
|
</w:rPr>
|
||||||
<w:t>{{formatDate safe.date 'YYYY'}}</w:t>
|
<w:t>{{date date 'YYYY'}}</w:t>
|
||||||
</w:r>
|
</w:r>
|
||||||
</w:p>
|
</w:p>
|
||||||
{{#if summary}}
|
{{#if summary}}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
{{#> body-interests }}
|
{{#> body-interests }}
|
||||||
<div>
|
<div>
|
||||||
<h3><em>{{{ name }}}</em></h3>
|
<h3><em>{{{ name }}}</em></h3>
|
||||||
<span class="tenure">{{formatDate safe.date 'YYYY' }}</span>
|
<span class="tenure">{{date date 'YYYY' }}</span>
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
{{> highlights }}
|
{{> highlights }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
{{#> body-reading }}
|
{{#> body-reading }}
|
||||||
<div>
|
<div>
|
||||||
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>{{#if author}}, {{{ author }}}{{/if}}</h3>
|
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>{{#if author}}, {{{ author }}}{{/if}}</h3>
|
||||||
<span class="tenure">{{formatDate safe.date 'YYYY'}}</span>
|
<span class="tenure">{{date date 'YYYY'}}</span>
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
</div>
|
</div>
|
||||||
{{/body-reading}}
|
{{/body-reading}}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
{{#> body-recognition }}
|
{{#> body-recognition }}
|
||||||
<div>
|
<div>
|
||||||
<h3><em>{{ title }}</em>, {{{link from url }}}</h3>
|
<h3><em>{{ title }}</em>, {{{link from url }}}</h3>
|
||||||
<span class="tenure">{{formatDate safe.date 'YYYY' }}</span>
|
<span class="tenure">{{date date 'YYYY' }}</span>
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
{{> highlights }}
|
{{> highlights }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
{{ title }}
|
{{ title }}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</h3>
|
</h3>
|
||||||
<span class="tenure">{{formatDate safe.date 'YYYY-MM'}}</span>
|
<span class="tenure">{{date date 'YYYY-MM'}}</span>
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
{{> highlights }}
|
{{> highlights }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
{{#> body-speaking }}
|
{{#> body-speaking }}
|
||||||
<div>
|
<div>
|
||||||
<h3><em>{{{ title }}}</em>, {{{ event }}}</h3>
|
<h3><em>{{{ title }}}</em>, {{{ event }}}</h3>
|
||||||
<span class="tenure">{{formatDate safe.date 'YYYY' }}</span>
|
<span class="tenure">{{date date 'YYYY' }}</span>
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
{{> highlights }}
|
{{> highlights }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
|
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
|
||||||
{{ publisher.name }}</h3>
|
{{ publisher.name }}</h3>
|
||||||
<span class="tenure">{{formatDate safe.date 'YYYY'}}</span>
|
<span class="tenure">{{date date 'YYYY'}}</span>
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
{{> highlights }}
|
{{> highlights }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
{{#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 }}}) ({{dateRange .}})
|
||||||
{{else}}
|
{{else}}
|
||||||
### *{{{ position }}}*, {{{ employer }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
### *{{{ position }}}*, {{{ employer }}} ({{dateRange .}})
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
{{#each r.projects }}
|
{{#each r.projects }}
|
||||||
{{#if url }}
|
{{#if url }}
|
||||||
### *{{{camelCase role }}}*, [{{{ title }}}]({{{ url }}}) ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
### *{{{camelCase role }}}*, [{{{ title }}}]({{{ url }}}) ({{dateRange .}})
|
||||||
{{else}}
|
{{else}}
|
||||||
### *{{{camelCase role }}}*, {{{ title }}} ({{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }})
|
### *{{{camelCase role }}}*, {{{ title }}} ({{dateRange .}})
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{{ description }}}
|
{{{ description }}}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{{#each r.recognition}}
|
{{#each r.recognition}}
|
||||||
### {{{ title }}}{{#if from}}, {{{ from }}}{{/if}}
|
### {{{ title }}}{{#if from}}, {{{ from }}}{{/if}}
|
||||||
{{~#has 'safe.date'}} ({{formatDate safe.date 'MMM YYYY' }}){{/has}}
|
{{~#if date}} ({{date date 'MMM YYYY' }}){{/if}}
|
||||||
{{~#if summary}}
|
{{~#if summary}}
|
||||||
|
|
||||||
{{{ summary }}}{{/if}}
|
{{{ summary }}}{{/if}}
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
{{#each r.samples }}
|
{{#each r.samples }}
|
||||||
{{#if url}}
|
{{#if url}}
|
||||||
### [{{{ title }}}]({{{ url }}}) ({{formatDate safe.date 'YYYY-MM' }})
|
### [{{{ title }}}]({{{ url }}}) ({{date date}})
|
||||||
{{else}}
|
{{else}}
|
||||||
### {{{ title }}} ({{formatDate safe.date}})
|
### {{{ title }}} ({{date date}})
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
## {{{sectionTitle "SPEAKING"}}}
|
## {{{sectionTitle "SPEAKING"}}}
|
||||||
|
|
||||||
{{#each r.speaking}}
|
{{#each r.speaking}}
|
||||||
### *{{{ title }}}*, {{{ event }}} ({{formatDate safe.date 'YYYY'}})
|
### *{{{ title }}}*, {{{ event }}} ({{date date 'YYYY'}})
|
||||||
|
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
{{#if highlights}}
|
{{#if highlights}}
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
{{#each r.writing}}
|
{{#each r.writing}}
|
||||||
{{#if url}}
|
{{#if url}}
|
||||||
### [{{{ title }}}]({{{ url }}}) ({{formatDate safe.date 'YYYY-MM' }})
|
### [{{{ title }}}]({{{ url }}}) ({{date date}})
|
||||||
{{else}}
|
{{else}}
|
||||||
### {{{ title }}} ({{formatDate safe.date 'YYYY-MM' }})
|
### {{{ title }}} ({{date date}})
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{{#each r.recognition}}
|
{{#each r.recognition}}
|
||||||
{{{ title }}}{{#if from}}, {{{ from }}}{{/if}}
|
{{{ title }}}{{#if from}}, {{{ from }}}{{/if}}
|
||||||
{{~#has 'safe.date'}} ({{formatDate safe.date 'MMM YYYY' }}){{/has}}
|
{{~#if date}} ({{date date 'MMM YYYY' }}){{/if}}
|
||||||
{{~#if summary}}
|
{{~#if summary}}
|
||||||
|
|
||||||
{{{ summary }}}{{/if}}
|
{{{ summary }}}{{/if}}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{{sectionTitle "SAMPLES"}}} ------------------------------------------------------------------------
|
{{{sectionTitle "SAMPLES"}}} ------------------------------------------------------------------------
|
||||||
|
|
||||||
{{#each r.samples }}
|
{{#each r.samples }}
|
||||||
{{{ title }}} ({{formatDate safe.date 'YYYY-MM'}})
|
{{{ title }}} ({{date date}})
|
||||||
|
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
{{#if highlights}}
|
{{#if highlights}}
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
{{{sectionTitle "SKILLS"}}} -------------------------------------------------------------------------
|
{{{sectionTitle "SKILLS"}}} -------------------------------------------------------------------------
|
||||||
|
|
||||||
{{#each r.skills.sets}}
|
{{#each r.skills.sets}}
|
||||||
- {{{ name }}}: {{#each skills}}{{{ this }}} {{/each}}
|
- {{{ name }}}: {{#each skills}}{{{ . }}} {{/each}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{/section}}
|
{{/section}}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
## {{{sectionTitle "SPEAKING"}}} ------------------------------------------------------------------------
|
## {{{sectionTitle "SPEAKING"}}} ------------------------------------------------------------------------
|
||||||
|
|
||||||
{{#each r.speaking}}
|
{{#each r.speaking}}
|
||||||
*{{{ title }}}*, {{{ event }}} ({{formatDate safe.date 'YYYY'}})
|
*{{{ title }}}*, {{{ event }}} ({{date date 'YYYY'}})
|
||||||
|
|
||||||
{{{ summary }}}
|
{{{ summary }}}
|
||||||
{{#if highlights}}
|
{{#if highlights}}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
|
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
|
||||||
|
|
||||||
{{#each r.writing}}
|
{{#each r.writing}}
|
||||||
{{{ title }}}{{#has 'safe.date'}} ({{formatDate safe.date 'YYYY-MM' }}){{/has}}
|
{{{ title }}}{{#if date}} ({{date date}}){{/if}}
|
||||||
{{#if summary}}{{{ summary }}}
|
{{#if summary}}{{{ summary }}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user