<div class="o-author-info">
  <div class="o-author-info__badges">
    {{#if journalismYears}}
      <div class="o-author-info__badge-1">
        <p class="o-author-info__badge-label">Years in Journalism</p>
        <span class="o-author-info__badge-number">{{journalismYears}}</span>
      </div>
    {{/if}}
    {{#if globeYears}}
      <div class="o-author-info__badge-2">
        <p class="o-author-info__badge-label">Years at The Globe and Mail</p>
        <span class="o-author-info__badge-number">{{globeYears}}</span>
      </div>
    {{/if}}
  </div>

  <div class="o-author-info__details">

    {{#if education}}
      <div class="o-author-info__details__content">
        <h4 class="o-author-info__details__heading">Education</h4>
        {{#each education}}
          <p class="o-author-info__details__item">{{this}}</p>
        {{/each}}
      </div>
    {{/if}}

    {{#if honours}}
      <div class="o-author-info__details__content">
        <h4 class="o-author-info__details__heading">Honours & Awards</h4>
        {{#each honours}}
          <p class="o-author-info__details__item">{{this}}</p>
        {{/each}}
      </div>
    {{/if}}

    {{#if affiliations}}
      <div class="o-author-info__details__content">
        <h4 class="o-author-info__details__heading">professional affliations</h4>
        {{#each affiliations}}
          <p class="o-author-info__details__item">{{this}}</p>
        {{/each}}
      </div>
    {{/if}}

    {{#if languages}}
      <div class="o-author-info__details__content">
        <h4 class="o-author-info__details__heading">Languages Spoken</h4>
        {{#each languages}}
          <p class="o-author-info__details__item">{{this}}</p>
        {{/each}}
      </div>
    {{/if}}
  </div>
</div>
