1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-14 04:30:10 +00:00
fresh-themes/partials/html/section/samples.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

25 lines
527 B
Handlebars

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