<tr>
  <td class="type">
    {{#is mediaType 'application/vnd.org.cnx.collection'}}
      <span class="fa fa-book"></span>
    {{else}}
      {{#is mediaType 'application/vnd.org.cnx.module'}}
        <span class="fa fa-file"></span>
      {{else}}
        <span class="fa fa-question-circle"></span>
      {{/is}}
    {{/is}}
  </td>
  <td class="title">
    <h4><a href="contents/{{id}}">{{title}}</a></h4>
    <span>{{include summarySnippet}}</span>
  </td>
  <td class="authors">
    {{#each authors}}
      <span class="author">{{author ../authorList index 'fullname'}}</span>
    {{/each}}
  </td>
  <td class="edited">{{date pubDate}}</td>
</tr>

<tr>
  <td class="type">
    {{#is mediaType 'application/vnd.org.cnx.collection'}}
      <span class="fa fa-book" aria-label="book"></span>
    {{else}}
      {{#is mediaType 'application/vnd.org.cnx.module'}}
        <span class="fa fa-file" arai-label="file"></span>
      {{else}}
        <span class="fa fa-question-circle" aria-label="unknown"></span>
      {{/is}}
    {{/is}}
  </td>
  <td class="title">
    <h4><a href="contents/{{id}}">{{title}}</a></h4>
    <span>{{include summarySnippet}}</span>
  </td>
  <td class="authors">
    {{#each authors}}
      <span class="author">{{author ../authorList index 'fullname'}}</span>
    {{/each}}
  </td>
  <td class="edited">{{date pubDate}}</td>
</tr>

Add labels to type icons
Add labels to type icons
