<% if (site.posts.length){ %>
  <div class="card card-primary">
    <div class="card-header"><%= __('archive_a') %></div>
    <div class="card-menu">
      <%- list_archives({show_count: theme.show_count,
        type: theme.archive_type, style:"flat", class:"menu-element"}) %>
    </div>
  </div>
<% } %>
