19 lines
401 B
Plaintext
Executable File
19 lines
401 B
Plaintext
Executable File
<%
|
|
if (item.rows == undefined) {
|
|
item.rows = new Array();
|
|
var itms = new Array();
|
|
let id = item.id || 'references';
|
|
if (id in page) {
|
|
getList(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}) %>
|
|
<% } %>
|