1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-05 13:27:08 +01:00

Improve date formatting consistency.

Make sure partials use either the {{date}} or {{dateRange}} helpers.
This commit is contained in:
hacksalot
2016-02-14 00:14:58 -05:00
parent cdbb030389
commit 01cfdb00e0
22 changed files with 26 additions and 26 deletions

View File

@ -3,7 +3,7 @@
{{#each r.recognition}}
{{{ title }}}{{#if from}}, {{{ from }}}{{/if}}
{{~#has 'safe.date'}} ({{formatDate safe.date 'MMM YYYY' }}){{/has}}
{{~#if date}} ({{date date 'MMM YYYY' }}){{/if}}
{{~#if summary}}
{{{ summary }}}{{/if}}

View File

@ -2,7 +2,7 @@
{{{sectionTitle "SAMPLES"}}} ------------------------------------------------------------------------
{{#each r.samples }}
{{{ title }}} ({{formatDate safe.date 'YYYY-MM'}})
{{{ title }}} ({{date date}})
{{{ summary }}}
{{#if highlights}}

View File

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

View File

@ -2,7 +2,7 @@
## {{{sectionTitle "SPEAKING"}}} ------------------------------------------------------------------------
{{#each r.speaking}}
*{{{ title }}}*, {{{ event }}} ({{formatDate safe.date 'YYYY'}})
*{{{ title }}}*, {{{ event }}} ({{date date 'YYYY'}})
{{{ summary }}}
{{#if highlights}}

View File

@ -2,7 +2,7 @@
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
{{#each r.writing}}
{{{ title }}}{{#has 'safe.date'}} ({{formatDate safe.date 'YYYY-MM' }}){{/has}}
{{{ title }}}{{#if date}} ({{date date}}){{/if}}
{{#if summary}}{{{ summary }}}
{{/if}}