Merge pull request #6 from joemiller/affiliations

add support for affiliation section
This commit is contained in:
Antonio Ruberto 2017-09-29 11:04:46 -04:00 committed by GitHub
commit 01ace77f2d
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}}