1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-09 23:37:08 +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,11 @@
{{#section "employment"}}
<hr>
<section id="employment">
<header>
<h2>{{{sectionTitle "Employment"}}}</h2>
{{#> icon-employment }}{{/icon-employment}}
</header>
{{#> header-employment }}
{{> header-simple _title="EMPLOYMENT" _section="employment" }}
{{#> icon-employment }}{{/icon-employment}}
{{/header-employment}}
{{#each r.employment.history}}
<div>
<h3><em>{{ position }}</em>,
@ -18,14 +19,8 @@
{{#if keywords}}
| <span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
{{/if}}
<p style="clear: both;">{{{ summary }}}</p>
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
<p>{{{ summary }}}</p>
{{> highlights }}
</div>
{{/each}}
</section>