mirror of
https://github.com/JuanCanham/fresh-theme-bootstrap.git
synced 2024-12-22 12:37:22 +00:00
Merge pull request #6 from joemiller/affiliations
add support for affiliation section
This commit is contained in:
commit
01ace77f2d
17
src/partials/affiliation.html
Normal file
17
src/partials/affiliation.html
Normal file
@ -0,0 +1,17 @@
|
||||
{{#section 'affiliation'}}
|
||||
<hr>
|
||||
<section class="row">
|
||||
<h3 class="{{headerClass}}"><span class="fa fa-fw fa-child"></span> {{{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'}}—{{formatDate safe.end 'YYYY-MM'}}
|
||||
{{{summary}}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</section>
|
||||
{{/section}}
|
@ -5,6 +5,7 @@
|
||||
{{> employment}}
|
||||
{{> projects}}
|
||||
{{> samples}}
|
||||
{{> affiliation}}
|
||||
{{> education}}
|
||||
{{> service}}
|
||||
{{> writing}}
|
||||
|
Loading…
Reference in New Issue
Block a user