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.

19 lines
520 B

<%
var plats = [];
if (item.display) {
item.display.forEach(function(plat){
plats.push(plat);
});
} else {
plats = ['desktop', 'mobile'];
}
%>
<section class="widget <%- theme.style.shadow.card ? 'card-shadow' : '' %> <%- theme.style.blur && theme.style.blur.widget ? 'widget-blur' : '' %> <%- item.class %> <%- plats.join(' ') %>">
4 years ago
<%- partial('header', {item: item}) %>
4 years ago
<div class='content'>
4 years ago
<% (item.content||[]).forEach(function(row){ %>
<%- markdown(row) %>
4 years ago
<% }) %>
4 years ago
</div>
</section>