1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-02 20:07:07 +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 'projects'}}
<hr>
<section id="projects">
<header>
<h2>{{{sectionTitle "Projects"}}}</h2>
{{#> icon-projects }}{{/icon-projects}}
</header>
{{#> header-projects }}
{{> header-simple _title="PROJECTS" _section="projects" }}
{{#> icon-projects }}{{/icon-projects}}
{{/header-projects}}
{{#each r.projects }}
<div>
<h3>{{#if role}}<em>{{camelCase role }}</em>,{{/if}}
@ -19,13 +19,7 @@
{{#if start}}| {{/if}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>
{{/if}}
{{{ summary }}}
{{#if highlights}}
<ul>
{{#each highlights}}
<li>{{{ this }}}</li>
{{/each}}
</ul>
{{/if}}
{{> highlights }}
</div>
{{/each}}
</section>