Open oupala opened 8 years ago
Is it possible to set the set the order of widgets?
The default ordering is alphabetical, I'd like to set another order.
It is currently a simple forEach. See themes/bootstrap-blog/layout/_partial/sidebar.ejs:
themes/bootstrap-blog/layout/_partial/sidebar.ejs
<% theme.widgets.forEach(function(widget){ %> <%- partial('_widget/' + widget) %> <% }) %>
It would be great to be able to set the order in _config.yml where:
_config.yml
widgets: - about - category - archive - recent_posts - tag
would be a different order and activation setting than:
widgets: - recent_posts - about - category
This issue should be converted to a documentation.
It is already working as I wished in the issue... :+1:
Is it possible to set the set the order of widgets?
The default ordering is alphabetical, I'd like to set another order.
It is currently a simple forEach. See
themes/bootstrap-blog/layout/_partial/sidebar.ejs
:It would be great to be able to set the order in
_config.yml
where:would be a different order and activation setting than: