1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-07-05 16:40:04 +01:00
fresh-themes/partials/html/section/writing.hbs
hacksalot 01cfdb00e0 Improve date formatting consistency.
Make sure partials use either the {{date}} or {{dateRange}} helpers.
2016-02-14 00:14:58 -05:00

20 lines
542 B
Handlebars

{{#section "writing"}}
<hr>
<section id="writing">
{{#> header-writing }}
{{> header-icon _title="WRITING" _section="writing" _hdricon=(lookup . '_icon') }}
{{/header-writing}}
{{#each r.writing }}
{{#> body-writing }}
<div>
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
{{ publisher.name }}</h3>
<span class="tenure">{{date date 'YYYY'}}</span>
{{{ summary }}}
{{> highlights }}
</div>
{{/body-writing}}
{{/each}}
</section>
{{/section}}