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:
26
partials/html/sections/samples.html
Normal file
26
partials/html/sections/samples.html
Normal 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}}
|
Reference in New Issue
Block a user