<main role="main" class="bg-dark2" >
    <%- partial('_partial/logo', { created_by : false }) %>
    <div class="container">
        <div class="row">
            <div class="col-12">
                <h2 class="group-header">Blog</h2>
            </div>
        </div>
        <div class="row">
            <% var pages = order_pages(site.posts); %>
            <% pages.forEach(content => { %>
                <% if(content.content_type == "post") { %>
                    <div class="col-4">
                        <div class="card card-dark hoverable">
                            <div class="card-body">
                                <h5 class="card-title">
                                    <a href="<%- content.path %>"><%- content.title %></a>
                                </h5>
                                <p class="card-text"><%- content.description %></p>
                            </div>
                            <p class="card-date"><small><%- date(content.date, 'M/D/YYYY') %></small></p>
                        </div>
                    </div>
                <% } %>
            <% }); %>
        </div>
    </div>
    <%- partial('_partial/about') %>
    <%- partial('_partial/newsletter') %>
    <%- partial('_partial/links') %>
</main>