<li class="nav-item">
  <a class="nav-link" href="<%= item.href %>">
    <div class="media">
      <div class="media-left">
        <span class="<%= item.glyphicon %> suggestion-item__icon--doc suggestion-item__icon mr-2"></span>
      </div>
      <div class="media-body">
        <p class="mb-0">
          <%
          var title;
          if ("title" in item.highlight)
          title = item.highlight.title;
          else
          title = _.escape(item.title);
          %>
          <%= title %>
        </p>
        <%if("attachments" in item.highlight){%>
          <small class="text-muted d-block"><%=item.highlight.attachments%></small>
          <%}%>
        </div>
      </div>
    </a>
  </li>
