<%= title %>
Classification
<% for i, bc in ipairs(breadcrumbs) do %> <% cls, label = table.unpack(bc) %> <% if i ~= 1 then %> <%= label -%> <% end %>
<% end %>Metadata
-
<% for _, ol in ipairs(dmd) do %>
-
<% if ol.label then %><%= ol.label %>
<% else %>
<%= ol.uri %>
<% end %> <% if ol.description then %> 🛈 <% end %>
<% for _, o in ipairs(ol) do %>
- <%= o %> <% end %> <% end %>
Relationships
-
<% for p, ol in pairs(rel) do %>
-
<% if ol.label then %><%= ol.label %>
<% else %>
<%= ol.uri %>
<% end %>
<% for _, o in ipairs(ol) do %>
- <%= o.label %> <% end %> <% end %>
Members
-
<% for _, ll in ipairs(children) do %>
- <%= ll[1].label %> (<%= #ll %> items)
-
<% for i, el in ipairs(ll) do %>
-
<% if el.tn then %>
<% else %> <%= el.label %> <% end %>
<%end %>
<% end %>
-
<% if el.tn then %>