<% if (post.date) { %>
    <div class="<%= class_name %>">
        <i class="fas fa-calendar-alt"></i>
        <a href="<%- url_for(post.path) %>">
            <time datetime="<%= date_xml(post.date) %>" itemprop="datePublished"><%= date(post.date, date_format) %></time>
        </a>
    </div>
<% } %>
