<%= item.title %>
<%= item.subtitle %>
<% for (const item of items.slice(0, 4)) { %>
::: {.g-col-1 <%= metadataAttrs(item) %> }
<% if (item[‘ojs-code’]) { %>
<% } else { %>
nothing rn
<% } %>
<% } %>
:::
<% if (items.length > 4) { let samplePath = items[0].path || ““; if (samplePath.endsWith(‘/index.qmd’)) { samplePath = samplePath.substring(0, samplePath.lastIndexOf(‘/’)); } const basePath = samplePath.substring(0, samplePath.lastIndexOf(‘/’) + 1); %> :::{.text-end .mb-5 style=”margin-bottom: 0 !important”} View All ::: <% } %>