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
381 B

<%
if (item.rows == undefined) {
item.rows = new Array();
var itms = new Array();
let id = item.id || 'references';
if (id in page) {
(page[id]||[]).forEach(function(ref) {
if (ref.name || ref.url) {
item.rows.push(ref);
}
})
}
}
%>
<% if (item.rows && item.rows.length > 0) { %>
<%- partial('list', {item: item, where: where}) %>
<% } %>