From f6b1f4d7213b953c10a6d196ec04e7e18271f3e2 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 11 Feb 2025 10:33:25 -0400 Subject: data: homepage layout sections --- src/upd8.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/upd8.js') diff --git a/src/upd8.js b/src/upd8.js index 045bf139..5589877c 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -1508,7 +1508,11 @@ async function main() { logThings('staticPageData', 'static pages'); if (wikiData.homepageLayout) { logInfo` - ${1} homepage layout (${ - wikiData.homepageLayout.rows.length + wikiData.homepageLayout.sections.length + } sections, ${ + wikiData.homepageLayout.sections + .flatMap(section => section.rows) + .length } rows)`; } if (wikiData.wikiInfo) { -- cgit 1.3.0-6-gf8a5