-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
59 lines (59 loc) · 2 KB
/
Copy pathplugin.json
File metadata and controls
59 lines (59 loc) · 2 KB
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
59
{
"name": "Sticky Sidebar TOC",
"description": "Turns the inline table of contents into a sticky sidebar that follows you as you scroll.",
"license": "GPL-3.0",
"author": "InPoint Automation",
"version": "1.0.0",
"scope": "site",
"minimumPubliiVersion": "0.43.0",
"config": [
{
"name": "topOffset",
"label": "Top offset (rem)",
"group": "Position",
"type": "number",
"value": 8,
"note": "Distance from top of viewport. Set to match your sticky header height."
},
{
"name": "leftOffset",
"label": "Left position (px)",
"group": "Position",
"type": "number",
"value": 0,
"note": "Fixed left position in pixels. Set to 0 for auto-positioning based on content area."
},
{
"name": "opaqueBackground",
"label": "Opaque background",
"group": "Appearance",
"type": "checkbox",
"value": false,
"note": "Adds a solid background behind the sidebar. Enable on sites with background images."
},
{
"name": "contentSelector",
"label": "Theme layout",
"group": "Position",
"type": "radio",
"options": [
{ "label": "Simple", "value": ".entry-wrapper" },
{ "label": "Massively", "value": "#main" }
],
"value": ".entry-wrapper",
"note": "Select your Publii theme so the sidebar measures the correct content area."
},
{
"name": "applyTo",
"label": "Apply to",
"group": "Advanced",
"type": "radio",
"options": [
{ "label": "Posts and pages", "value": "both" },
{ "label": "Posts only", "value": "post" },
{ "label": "Pages only", "value": "page" }
],
"value": "both"
}
]
}