1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-03 04:17:07 +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

@ -8,7 +8,7 @@
{{#> body-interests }}
<div>
<h3><em>{{{ name }}}</em></h3>
<span class="tenure">{{formatDate safe.date 'YYYY' }}</span>
<span class="tenure">{{date date 'YYYY' }}</span>
{{{ summary }}}
{{> highlights }}
</div>

View File

@ -8,7 +8,7 @@
{{#> body-reading }}
<div>
<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 }}}
</div>
{{/body-reading}}

View File

@ -8,7 +8,7 @@
{{#> body-recognition }}
<div>
<h3><em>{{ title }}</em>, {{{link from url }}}</h3>
<span class="tenure">{{formatDate safe.date 'YYYY' }}</span>
<span class="tenure">{{date date 'YYYY' }}</span>
{{{ summary }}}
{{> highlights }}
</div>

View File

@ -14,7 +14,7 @@
{{ title }}
{{/if}}
</h3>
<span class="tenure">{{formatDate safe.date 'YYYY-MM'}}</span>
<span class="tenure">{{date date 'YYYY-MM'}}</span>
{{{ summary }}}
{{> highlights }}
</div>

View File

@ -8,7 +8,7 @@
{{#> body-speaking }}
<div>
<h3><em>{{{ title }}}</em>, {{{ event }}}</h3>
<span class="tenure">{{formatDate safe.date 'YYYY' }}</span>
<span class="tenure">{{date date 'YYYY' }}</span>
{{{ summary }}}
{{> highlights }}
</div>

View File

@ -9,7 +9,7 @@
<div>
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
{{ publisher.name }}</h3>
<span class="tenure">{{formatDate safe.date 'YYYY'}}</span>
<span class="tenure">{{date date 'YYYY'}}</span>
{{{ summary }}}
{{> highlights }}
</div>