{{#if adv}}
  <div class="c-article-meta c-article-meta--adv">
{{else}}
  <div class="c-article-meta">
{{/if}}
  {{#if image}}
    <div class="o-media">
      <div class="o-media__media">
        <div class="c-article-meta__image c-article-meta__image--small">
          <a class="c-article-meta__image-link" href="#">
            {{> image image}}
          </a>
        </div>
      </div>
      <div class="o-media__body">
  {{/if}}

  {{#if bylines}}
    <div class="c-article-meta__bylines">
      {{#each bylines}}
        {{#ifCond ../bylines.length ">" 1}}
          {{#if @last}}
            and {{> byline this}}
          {{else}}
            {{#ifSecondLast @index ../bylines.length}}
              {{> byline this}}
            {{else}}
              {{> byline this}},
            {{/ifSecondLast}}
          {{/if}}
        {{else}}
          {{> byline this}}
        {{/ifCond}}
      {{/each}}
    </div>
  {{/if}}

  {{#if beats}}
    <div class="c-article-meta__beats">
      {{#each beats}}
        {{> beat this}}
      {{/each}}
    </div>
  {{/if}}

  {{#if authorInfo}}
    {{#each authorInfo}}
      <div class="c-article-meta__author-info">
        {{#if byline}}
          {{> byline this}}
        {{/if}}
        {{#if beat}}
          {{> beat this}}
        {{/if}}
      </div>
    {{/each}}
  {{/if}}

  {{#if placelines}}
    <div class="c-article-meta__placelines">
      {{#each placelines}}
        {{> placeline this}}
      {{/each}}
    </div>
  {{/if}}

  {{#if creditlines}}
    <div class="c-article-meta__creditlines">
      {{#each creditlines}}
        {{> creditline this}}
      {{/each}}
    </div>
  {{/if}}

  {{#if timestamps}}
    <div class="c-article-meta__timestamps">
      {{#each timestamps}}
        {{> timestamp timestamp=this}}
      {{/each}}
    </div>
  {{/if}}

  {{#if unlimited}}
    <div class="c-article-meta__unlimited">For Subscribers</div>
  {{/if}}

  {{#if canpro}}
    <div class="c-article-meta__canpro">For Cannabis Professional Subscribers</div>
  {{/if}}

  {{#if image}}
      </div>
    </div>
  {{/if}}
</div>
