1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-05-04 04:47:08 +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,21 @@
{{#section "governance" }}
## {{{sectionTitle "GOVERNANCE"}}}
{{#each r.governance }}
{{#if url}}
### {{#if role}}*{{{ role }}}*, {{/if}}[{{{ organization }}}]({{{ url }}}) {{#has 'start'}} ({{dateRange .}}){{/has}}
{{else}}
### {{#if role}}*{{{ role }}}*, {{/if}}{{{ organization }}}{{#has 'start'}} ({{dateRange .}}){{/has}}
{{/if}}
{{~#if summary}}
{{{ summary }}}{{/if}}
{{~#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}{{/if}}
{{/each}}
{{/section}}