1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-03 20:37:07 +01:00

Introduce "reading" section.

This commit is contained in:
hacksalot
2016-01-20 06:23:35 -05:00
parent 76b362c2b8
commit 9bf5d43f87
17 changed files with 211 additions and 43 deletions

View File

@ -0,0 +1,17 @@
{{#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">{{formatDate safe.date 'YYYY'}}</span>
{{{ summary }}}
</div>
{{/body-reading}}
{{/each}}
</section>
{{/section}}