1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-06-26 22:01:03 +01:00

Allow overriding of section headers.

This commit is contained in:
hacksalot
2016-01-12 09:40:18 -05:00
parent 1799a49234
commit 2fcb283631
13 changed files with 68 additions and 77 deletions

View File

@ -1,10 +1,10 @@
{{#section 'samples'}}
<hr>
<section id="samples">
<header>
<h2>{{{sectionTitle "Samples"}}}</h2>
{{#> icon-samples }}{{/icon-samples}}
</header>
{{#> header-samples }}
{{> header-simple _title="SAMPLES" _section="samples" }}
{{#> icon-samples }}{{/icon-samples}}
{{/header-samples}}
{{#each r.samples}}
<div>
<h3>
@ -15,13 +15,7 @@
{{/if}}
<span class="tenure">{{formatDate safe.date 'YYYY-MM'}}</span></h3>
{{{ summary }}}
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{> highlights }}
</div>
{{/each}}
</section>