初始版本
diff --git a/themes/bootstrap-blog/layout/_widget/about.ejs b/themes/bootstrap-blog/layout/_widget/about.ejs
new file mode 100644
index 0000000..161e640
--- /dev/null
+++ b/themes/bootstrap-blog/layout/_widget/about.ejs
@@ -0,0 +1,4 @@
+<div class="sidebar-module sidebar-module-inset">
+ <h4>About</h4>
+ <%- theme.about_widget_content %>
+</div>
diff --git a/themes/bootstrap-blog/layout/_widget/archive.ejs b/themes/bootstrap-blog/layout/_widget/archive.ejs
new file mode 100644
index 0000000..e7158da
--- /dev/null
+++ b/themes/bootstrap-blog/layout/_widget/archive.ejs
@@ -0,0 +1,6 @@
+<% if (site.posts.length){ %>
+ <div class="sidebar-module">
+ <h4>Archives</h4>
+ <%- list_archives({show_count: theme.show_count, type: theme.archive_type, class: 'sidebar-module'}) %>
+ </div>
+<% } %>
diff --git a/themes/bootstrap-blog/layout/_widget/category.ejs b/themes/bootstrap-blog/layout/_widget/category.ejs
new file mode 100644
index 0000000..77f76cd
--- /dev/null
+++ b/themes/bootstrap-blog/layout/_widget/category.ejs
@@ -0,0 +1,6 @@
+<% if (site.categories.length){ %>
+ <div class="sidebar-module">
+ <h4>Categories</h4>
+ <%- list_categories({show_count: theme.show_count, class: 'sidebar-module'}) %>
+ </div>
+<% } %>
diff --git a/themes/bootstrap-blog/layout/_widget/recent_posts.ejs b/themes/bootstrap-blog/layout/_widget/recent_posts.ejs
new file mode 100644
index 0000000..c86e098
--- /dev/null
+++ b/themes/bootstrap-blog/layout/_widget/recent_posts.ejs
@@ -0,0 +1,12 @@
+<% if (site.posts.length){ %>
+ <div class="sidebar-module">
+ <h4>Recents</h4>
+ <ul class="sidebar-module-list">
+ <% site.posts.sort('date', -1).limit(5).each(function(post){ %>
+ <li>
+ <a href="<%- url_for(post.path) %>"><%= post.title || '(no title)' %></a>
+ </li>
+ <% }) %>
+ </ul>
+ </div>
+<% } %>
\ No newline at end of file
diff --git a/themes/bootstrap-blog/layout/_widget/tag.ejs b/themes/bootstrap-blog/layout/_widget/tag.ejs
new file mode 100644
index 0000000..22b9e61
--- /dev/null
+++ b/themes/bootstrap-blog/layout/_widget/tag.ejs
@@ -0,0 +1,6 @@
+<% if (site.tags.length){ %>
+ <div class="sidebar-module">
+ <h4>Tags</h4>
+ <%- list_tags({show_count: theme.show_count, class: 'sidebar-module'}) %>
+ </div>
+<% } %>
diff --git a/themes/bootstrap-blog/layout/_widget/tagcloud.ejs b/themes/bootstrap-blog/layout/_widget/tagcloud.ejs
new file mode 100644
index 0000000..15e07ec
--- /dev/null
+++ b/themes/bootstrap-blog/layout/_widget/tagcloud.ejs
@@ -0,0 +1,8 @@
+<% if (site.tags.length){ %>
+ <div class="sidebar-module">
+ <h4>Tag Cloud</h4>
+ <p class="tagcloud">
+ <%- tagcloud() %>
+ </p>
+ </div>
+<% } %>
\ No newline at end of file
diff --git a/themes/bootstrap-blog/layout/_widget/toc.ejs b/themes/bootstrap-blog/layout/_widget/toc.ejs
new file mode 100644
index 0000000..d1d8a61
--- /dev/null
+++ b/themes/bootstrap-blog/layout/_widget/toc.ejs
@@ -0,0 +1,5 @@
+<%if (is_post()) { %>
+<div>
+<%- toc(page.content) %>
+</div>
+<% } %>