Refine admin static collections and drag sorting
This commit is contained in:
@@ -144,7 +144,7 @@ async function renderRegion(region) {
|
||||
return blocks.join("");
|
||||
}
|
||||
|
||||
let output = renderTemplateTokens(shell, { id: page.slug, ...page });
|
||||
let output = renderTemplateTokens(renderEachBlocks(shell, { id: page.slug, ...page }), { id: page.slug, ...page });
|
||||
for (const region of page.regions ?? []) {
|
||||
const token = REGION_TOKEN[region.id];
|
||||
if (!token) {
|
||||
|
||||
Reference in New Issue
Block a user