-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.json
59 lines (53 loc) · 1.67 KB
/
example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// NOTE: Classes intentionally do not cascade since there is no way to
// distinguish the desire for classes to be applied to all pages from
// the desire to have the class applied only to the course menu.
// While classes applied in contentObjects.json will override classes
// applied in course.json, there is no way to *remove* them without
// overriding with an "anti-class".
// Menu + global page footer
// apply to course.json
"_footer": {
"_isEnabled": true,
"_footerContent": "CGKineo copyright 2020",
"_classes": "",
"_horizontalAlignment": "start",
"_verticalAlignment": "start",
"_graphic": {
"src": "course/en/images/example.png",
"alt": "",
"_orientation": "horizontal"
}
}
// apply to contentObject.json
"_footer": {
"_isEnabled": true
}
// Menu only footer
// apply to course.json
"_footer": {
"_isEnabled": true,
"_footerContent": "CGKineo copyright 2020",
"_classes": "",
"_horizontalAlignment": "start",
"_verticalAlignment": "start",
"_graphic": {
"src": "course/en/images/example.png",
"alt": "",
"_orientation": "horizontal"
}
}
//
// Page only footer
// apply to contentObject.json
"_footer": {
"_isEnabled": true,
"_footerContent": "CGKineo copyright 2020",
"_classes": "",
"_horizontalAlignment": "start",
"_verticalAlignment": "start",
"_graphic": {
"src": "course/en/images/example.png",
"alt": "",
"_orientation": "horizontal"
}
}