<%= post.title %>
<% if(post.description == "" || post.description == undefined) { %>

<%= timeAgo(new Date(post.date)) %>

<% } else { %>

<%= post.description %>

<% } %>
<% if(post.description != "" && post.description != undefined) { %> <% } %>