add support for affiliation section

This commit is contained in:
joe miller 2017-09-22 07:45:09 -07:00
parent 813120d87b
commit ad8ebe208e
No known key found for this signature in database
GPG Key ID: B0FBB6EC7A273832
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
{{#section 'affiliation'}}
<hr>
<section class="row">
<h3 class="{{headerClass}}"><span class="fa fa-fw fa-child"></span>&nbsp;{{{sectionTitle "Affiliation"}}}</h3>
<div class="{{contentClass}}">
{{#each r.affiliation.history}}
{{#if url}}
<h4><strong>{{role}}</strong>, <a href="{{{url}}}">{{organization}}</a></h4>
{{else}}
<h4><strong>{{role}}</strong>, {{organization}}</h4>
{{/if}}
{{formatDate safe.start 'YYYY-MM'}}&mdash;{{formatDate safe.end 'YYYY-MM'}}
{{{summary}}}
{{/each}}
</div>
</section>
{{/section}}

View File

@ -5,6 +5,7 @@
{{> employment}}
{{> projects}}
{{> samples}}
{{> affiliation}}
{{> education}}
{{> service}}
{{> writing}}