<% if (attachments) { %> View Attachments <% } %>
<%- JSON.stringify(doc.attributes, null, " ") %>