<% let text = post.content.text.slice(0, 140) %> <% if (post.content.text.length > 140) text += "..." %> <% text.split("\n").map((line, index) => { %> <%- index > 0 ? "
" : "" %><%= line %> <% }) %>