<% theme.scarf.forEach(function(scarf, index) { %> <% if (scarf.enable) { %>
<% if(scarf.image) { %> <% } else if(scarf.icon) { %> <% } else%>
<% } %> <% }); %>