update readme for multiple instances

This commit is contained in:
sam detweiler 2023-11-16 09:42:05 -06:00
parent 682ac86967
commit d301643aee

View file

@ -88,7 +88,9 @@ modules: [
config: { config: {
modules: modules:
[[ "page1" ], [[ "page1" ],
[ "page2" ]], [ "page2" ],
[ "page3" ],
],
fixed: [ "fixed_page" ], fixed: [ "fixed_page" ],
hiddenPages: { hiddenPages: {
"screenSaver": [ "screensaver_page" ], "screenSaver": [ "screensaver_page" ],
@ -122,9 +124,13 @@ if u want a modules content on multiple pages the classes has those page names
classes:"page1", classes:"page1",
}, },
{ {
module:"calendar", module:"calendar", // first calendar instance on page 2
classes:"page2", classes:"page2",
}, },
{
module:"calendar", // second calendar instance on page 3
classes:"page3",
},
{ {
module:"compliments", module:"compliments",
classes:"page1, page2", classes:"page1, page2",