-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
49 lines (49 loc) · 2.04 KB
/
plugin.json
File metadata and controls
49 lines (49 loc) · 2.04 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
{
"name": "Static Search",
"description": "This plugin provides website owners with an easy way to add a static search functionality to their site. By leveraging the feed.json and js-search javascript library, this plugin offers a fast and reliable search experience for users, without the need for a dynamic search engine. With this plugin, site owners can quickly and easily improve the user experience and help visitors find the information they need.",
"license": "MIT",
"author": "Valgard Trontheim <https://trontheim.com/>",
"version": "1.0.1",
"scope": "site",
"minimumPubliiVersion": "0.46.0",
"usePluginSettingsView": false,
"messageInOptions": {
"type": "info",
"text": "To enable the search feature, please make sure that both 'Search' and 'Search subpage' options are enabled in the Theme settings under the Search tab."
},
"requiredFeatures": ["customSearch"],
"config": [
{
"name": "searchParam",
"label": "Search parameter",
"note": "You can change the default \"q\" search parameter if desired; recommended only for advanced users.",
"group": "Search configuration",
"value": "q",
"type": "text"
},
{
"name": "searchAutofocus",
"label": "Autofocus",
"group": "Theme integration",
"note": "When enabled, the autofocus attribute will be added to the input field to tell the browser to focus on this field when the page loads.",
"value": true,
"type": "checkbox"
},
{
"name": "searchPlaceholder",
"label": "Input placeholder",
"note": "",
"group": "Theme integration",
"value": "search...",
"type": "text"
},
{
"name": "searchSubmitLabel",
"label": "Submit button label",
"note": "",
"group": "Theme integration",
"value": "Submit",
"type": "text"
}
]
}