-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.json
32 lines (32 loc) · 1.22 KB
/
plugin.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
{
"name": "Reading Time",
"description": "This plugin automatically calculates and displays the estimated reading time for each post.",
"license": "MIT",
"author": "htejera",
"version": "1.0.0",
"scope": "site",
"minimumPubliiVersion": "0.40.0",
"usePluginSettingsView": false,
"messageInOptions": {
"type": "info",
"text": "Customize the plugin."
},
"config": [
{
"name": "text",
"label": "Text",
"note": "Text to display next to the reading time. Use %s within this text to indicate where the calculated time (minutes and seconds) should be inserted. The plugin will automatically replace %s with the actual reading time.",
"group": "General Settings",
"value": "Estimated reading time: %s minute(s) to read",
"type": "text"
},
{
"name": "parentElementSelector",
"label": "Parent Element Selector",
"note": "CSS selector of the parent element where the reading time will be placed. For example, use 'h1' to place it below the first heading.",
"group": "General Settings",
"value": "h1",
"type": "text"
}
]
}