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