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

Introduce affiliation section.

This commit is contained in:
hacksalot
2016-01-20 09:12:53 -05:00
parent 9bf5d43f87
commit eb0d731d55
9 changed files with 137 additions and 0 deletions

View File

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