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

Introduce "governance" section partials.

Fixes #34.
This commit is contained in:
hacksalot
2016-01-22 23:58:59 -05:00
parent b009861168
commit bb7f328b05
4 changed files with 139 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{{#section "governance"}}
<hr>
<section id="governance">
{{#> header-governance }}
{{> header-icon _title="GOVERNANCE" _section="governance" _hdricon=(lookup . '_icon') }}
{{/header-governance}}
{{#each r.governance}}
{{#> body-governance }}
<div>
<h3>{{#if position}}<em>{{ position }}</em>,
{{/if}}{{#if url }}
<a href="{{{ url }}}">{{ organization }}</a>
{{else}}
{{ organization }}
{{/if}}
</h3>
<span class="tenure">{{dateRange .}}</span>
<p>{{{ summary }}}</p>
{{> highlights }}
{{#if keywords}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>{{/if}}
</div>
{{/body-governance}}
{{/each}}
</section>
{{/section}}