初始版本
diff --git a/themes/bootstrap-blog/layout/_partial/archive.ejs b/themes/bootstrap-blog/layout/_partial/archive.ejs
new file mode 100644
index 0000000..cdda897
--- /dev/null
+++ b/themes/bootstrap-blog/layout/_partial/archive.ejs
@@ -0,0 +1,33 @@
+<% if (pagination == 2){ %>
+ <% page.posts.each(function(post){ %>
+ <%- partial('article', {post: post, index: true}) %>
+ <% }) %>
+<% } else { %>
+ <% var last; %>
+ <% page.posts.each(function(post, i){ %>
+ <% var year = post.date.year(); %>
+ <% if (last != year){ %>
+ <% if (last != null){ %>
+ </div></section>
+ <% } %>
+ <% last = year; %>
+ <section class="archives-wrap">
+ <div class="archive-year-wrap">
+ <a href="<%- url_for(config.archive_dir + '/' + year) %>" class="archive-year"><%= year %></a>
+ </div>
+ <div class="archives">
+ <% } %>
+ <%- partial('archive-post', {post: post, even: i % 2 == 0}) %>
+ <% }) %>
+ <% if (page.posts.length){ %>
+ </div></section>
+ <% } %>
+<% } %>
+<% if (page.total > 1){ %>
+ <div id="page-nav">
+ <%- bs_paginator({
+ prev_text: '<i class="fa fa-chevron-left"></i> Prev',
+ next_text: 'Next <i class="fa fa-chevron-right"></i>'
+ }) %>
+ </div>
+<% } %>