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

Modern: Refactor to use global partials.

This commit is contained in:
hacksalot
2016-01-10 23:30:35 -05:00
parent 06e458eab7
commit b7b2afe568
11 changed files with 84 additions and 169 deletions

View File

@ -0,0 +1,26 @@
{{#section 'samples'}}
<hr>
<section id="samples">
<header>
<h2>{{{sectionTitle "Samples"}}}</h2>
</header>
{{#> icon-samples }}{{/icon-samples}}
{{#each r.samples}}
<h3>
{{#if url}}
<a href="{{{ url }}}">{{ title }}</a>
{{else}}
{{ title }}
{{/if}}
<span class="tenure">{{formatDate date 'YYYY-MM'}}</span></h3>
{{{ summary }}}
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{/each}}
</section>
{{/section}}