{{ $is_list := .is_list }}
{{ $page := .page }}

<div class="article-metadata">

  {{/* If `authors` is set and is not empty. */}}
  {{ if $page.Params.authors }}
  {{ $authorLen := len $page.Params.authors }}
  {{ if gt $authorLen 0 }}
  <div>
    {{ partial "page_metadata_authors" $page }}
  </div>
  {{ end }}
  {{ end }}
  
  <span class="article-date">
    Published on {{ $page.Date.Format site.Params.locale.date_format }}
  </span>
  {{ if $page.Params.version }}
  <span class="middot-divider"></span> 