1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-25 17:40:11 +00:00
fresh-themes/partials/html/section/reading.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

18 lines
527 B
Handlebars

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