<%- partial('_partial/index/hero') %>
<%- partial('_partial/index/recommend') %>
<% theme.index_categories.forEach(function (category) { %>

<%- category %>

<% site.categories.findOne({name: category}).posts.sort('-date').map(function(post){ %> <%- partial('_partial/index/card', { url: url_for(post.path), title: post.title, label: post.label, slug: post.slug, background: post.background == undefined ? 'bg-emerald-500' : post.background }) %> <% }) %>
<% }); %>
<%- partial('_partial/index/request') %>