Refine admin static collections and drag sorting

This commit is contained in:
dcconstructions
2026-06-26 12:11:07 +03:00
parent e4bfd93a67
commit 7230e8a319
6 changed files with 415 additions and 198 deletions
+1 -1
View File
@@ -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) {