« get me outta code hell

data: homepage layout sections - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-02-11 10:33:25 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-02-12 07:43:58 -0400
commitf6b1f4d7213b953c10a6d196ec04e7e18271f3e2 (patch)
tree5b859549e768a793c6a3700ad7f7f3326ee7caa7 /src/upd8.js
parent1cd87253681074907db8e6751fd787e37b7d17b5 (diff)
data: homepage layout sections
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js6
1 files changed, 5 insertions, 1 deletions
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) {