We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf1583a commit ce3fd44Copy full SHA for ce3fd44
_config.yml
@@ -17,6 +17,12 @@ widgets:
17
- archive
18
#- recent_posts
19
20
+# display widgets at the bottom of index pages (pagination == 2)
21
+index_widgets:
22
+# - category
23
+# - tagcloud
24
+# - archive
25
+
26
# widget behavior
27
archive_type: 'yearly'
28
show_count: false
layout/_partial/archive.ejs
@@ -12,6 +12,11 @@
12
}) %>
13
</nav>
14
<% } %>
15
+ <% if ( theme.index_widgets !== null ){ %>
16
+ <% theme.index_widgets.forEach(function(widget){ %>
+ <%- partial('_widget/' + widget) %>
+ <% }) %>
+ <% } %>
<% } else { %>
<% var last; %>
<% page.posts.each(function(post, i){ %>
0 commit comments