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.
10 lines
340 B
10 lines
340 B
4 years ago
|
<% (widgets||[]).forEach(function(widget){ %>
|
||
|
<% if (widget in theme.widget){ %>
|
||
|
<% let w = theme.widget[widget]; %>
|
||
|
<%- partial(w.class, {item: w, where: where}) %>
|
||
|
<% } else if (widget in site.data.widget){ %>
|
||
|
<% let w = site.data.widget[widget]; %>
|
||
|
<%- partial(w.class, {item: w, where: where}) %>
|
||
|
<% } %>
|
||
|
<% }) %>
|