<% if (site.posts.length) { %>
    <div class="widget-wrap widget-list">
        <h3 class="widget-title"><%= __('sidebar.archives') %></h3>
        <div class="widget">
            <%- list_archives() %>
        </div>
    </div>
<% } %>
