You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
380 B
9 lines
380 B
<% (widgets||[]).forEach(function(widget){ %> |
|
<% if (theme.widget && (widget in theme.widget)){ %> |
|
<% let w = theme.widget[widget]; %> |
|
<%- partial(w.class, {item: w, where: where}) %> |
|
<% } else if (site.data.widget && (widget in site.data.widget)){ %> |
|
<% let w = site.data.widget[widget]; %> |
|
<%- partial(w.class, {item: w, where: where}) %> |
|
<% } %> |
|
<% }) %>
|
|
|