mirror of
https://github.com/edward-shen/MMM-pages.git
synced 2024-11-24 11:14:29 -08:00
update readme for multiple instances
This commit is contained in:
parent
682ac86967
commit
d301643aee
1 changed files with 8 additions and 2 deletions
10
readme.md
10
readme.md
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue