extends ../../layouts/main-sidebar
block content

  include ../../components/pagination-bar
  include components/credit

  div(uk-grid).uk-flex-expand
    .uk-width-expand
      h3.uk-margin-remove= `Author List`
        if Array.isArray(authors) && (authors.length > 0)
          ul.uk-list.uk-list-divider
            each author in authors
              li
                +renderAuthorCredit(author)
          .uk-card-footer
            +renderPaginationBar(`/post/authors`, totalAuthorCount )
