-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
64 lines (64 loc) · 2.29 KB
/
Copy pathplugin.json
File metadata and controls
64 lines (64 loc) · 2.29 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
60
61
62
63
64
{
"name": "Hreflang Auto-Linker",
"description": "Adds hreflang tags across a pair of multilingual Publii sites, paired through a mapping UI.",
"license": "GPL-3.0",
"author": "InPoint Automation",
"version": "1.0.0",
"scope": "site",
"minimumPubliiVersion": "0.46.0",
"usePluginSettingsView": true,
"config": [
{
"name": "siteLanguage",
"label": "This site's language code",
"group": "Site Configuration",
"type": "text",
"value": "en",
"note": "ISO 639-1 code (e.g., 'en', 'pl', 'de')"
},
{
"name": "partnerSiteDir",
"label": "Partner site directory name",
"group": "Partner Site",
"type": "text",
"value": "",
"note": "The directory name under your Publii sites folder (e.g., 'inpoint-automation-pl')"
},
{
"name": "partnerLanguage",
"label": "Partner site language code",
"group": "Partner Site",
"type": "text",
"value": "pl",
"note": "ISO 639-1 code for the partner site"
},
{
"name": "partnerBaseUrl",
"label": "Partner site base URL",
"group": "Partner Site",
"type": "text",
"value": "",
"note": "Full URL with trailing slash (e.g., 'https://inpointautomation.com/pl/')"
},
{
"name": "xDefaultSite",
"label": "x-default points to",
"group": "SEO",
"type": "radio",
"value": "this",
"options": [
{ "label": "This site", "value": "this" },
{ "label": "Partner site", "value": "partner" }
],
"note": "The x-default hreflang tells search engines which version to show when no language matches."
},
{
"name": "mappingsJson",
"label": "Mappings data (managed by the mapping UI - do not edit manually)",
"group": "Data",
"type": "textarea",
"value": "{\"posts\":{},\"pages\":{},\"tags\":{}}",
"note": "This field stores the hreflang mappings as JSON. Use the mapping UI (custom settings view) to manage this."
}
]
}