hexo-component-inferno 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/hexo/generator/insight.js +8 -1
- package/lib/hexo/generator/insight.test.js +16 -0
- package/lib/hexo/tag/message.test.js +2 -2
- package/lib/hexo/tag/tabs.test.js +3 -3
- package/lib/schema/comment/twikoo.json +17 -0
- package/lib/schema/schema/comment/changyan.json +21 -0
- package/lib/schema/schema/comment/disqus.json +17 -0
- package/lib/schema/schema/comment/disqusjs.json +53 -0
- package/lib/schema/schema/comment/facebook.json +13 -0
- package/lib/schema/schema/comment/gitalk.json +81 -0
- package/lib/schema/schema/comment/gitment.json +47 -0
- package/lib/schema/schema/comment/isso.json +17 -0
- package/lib/schema/schema/comment/livere.json +17 -0
- package/lib/schema/schema/comment/twikoo.json +17 -0
- package/lib/schema/schema/comment/utterances.json +59 -0
- package/lib/schema/schema/comment/valine.json +105 -0
- package/lib/schema/schema/comment/waline.json +164 -0
- package/lib/schema/schema/donate/afdian.json +17 -0
- package/lib/schema/schema/donate/alipay.json +17 -0
- package/lib/schema/schema/donate/buymeacoffee.json +17 -0
- package/lib/schema/schema/donate/patreon.json +17 -0
- package/lib/schema/schema/donate/paypal.json +22 -0
- package/lib/schema/schema/donate/wechat.json +17 -0
- package/lib/schema/schema/misc/manifest.json +66 -0
- package/lib/schema/schema/misc/meta.json +11 -0
- package/lib/schema/schema/misc/open_graph.json +78 -0
- package/lib/schema/schema/misc/poly_links.json +35 -0
- package/lib/schema/schema/misc/structured_data.json +47 -0
- package/lib/schema/schema/plugin/baidu_analytics.json +14 -0
- package/lib/schema/schema/plugin/bing_webmaster.json +14 -0
- package/lib/schema/schema/plugin/busuanzi.json +7 -0
- package/lib/schema/schema/plugin/cnzz.json +19 -0
- package/lib/schema/schema/plugin/cookie_consent.json +38 -0
- package/lib/schema/schema/plugin/gallery.json +7 -0
- package/lib/schema/schema/plugin/google_analytics.json +14 -0
- package/lib/schema/schema/plugin/hotjar.json +14 -0
- package/lib/schema/schema/plugin/katex.json +7 -0
- package/lib/schema/schema/plugin/mathjax.json +7 -0
- package/lib/schema/schema/plugin/outdated_browser.json +7 -0
- package/lib/schema/schema/plugin/progressbar.json +7 -0
- package/lib/schema/schema/plugin/statcounter.json +19 -0
- package/lib/schema/schema/plugin/twitter_conversion_tracking.json +14 -0
- package/lib/schema/schema/search/algolia.json +13 -0
- package/lib/schema/schema/search/baidu.json +13 -0
- package/lib/schema/schema/search/google_cse.json +17 -0
- package/lib/schema/schema/search/insight.json +13 -0
- package/lib/schema/schema/share/addthis.json +17 -0
- package/lib/schema/schema/share/addtoany.json +13 -0
- package/lib/schema/schema/share/bdshare.json +13 -0
- package/lib/schema/schema/share/sharejs.json +13 -0
- package/lib/schema/schema/share/sharethis.json +17 -0
- package/lib/schema/schema/widget/adsense.json +21 -0
- package/lib/schema/schema/widget/archives.json +13 -0
- package/lib/schema/schema/widget/categories.json +13 -0
- package/lib/schema/schema/widget/followit.json +26 -0
- package/lib/schema/schema/widget/links.json +47 -0
- package/lib/schema/schema/widget/recent_posts.json +13 -0
- package/lib/schema/schema/widget/subscribe_email.json +22 -0
- package/lib/schema/schema/widget/tags.json +30 -0
- package/lib/schema/schema/widget/toc.json +31 -0
- package/lib/schema/widget/tags.json +17 -0
- package/lib/view/comment/changyan.js +2 -2
- package/lib/view/comment/disqus.js +2 -2
- package/lib/view/comment/disqusjs.js +2 -2
- package/lib/view/comment/facebook.js +2 -2
- package/lib/view/comment/gitalk.js +2 -2
- package/lib/view/comment/gitment.js +2 -2
- package/lib/view/comment/isso.js +2 -2
- package/lib/view/comment/livere.js +2 -2
- package/lib/view/comment/twikoo.js +102 -0
- package/lib/view/comment/utterances.js +2 -2
- package/lib/view/comment/valine.js +2 -2
- package/lib/view/comment/waline.js +2 -2
- package/lib/view/common/article_media.js +2 -2
- package/lib/view/donate/afdian.js +2 -2
- package/lib/view/donate/alipay.js +2 -2
- package/lib/view/donate/buymeacoffee.js +2 -2
- package/lib/view/donate/patreon.js +2 -2
- package/lib/view/donate/paypal.js +2 -2
- package/lib/view/donate/wechat.js +2 -2
- package/lib/view/misc/article_licensing.js +2 -2
- package/lib/view/misc/meta.js +2 -2
- package/lib/view/misc/open_graph.js +12 -4
- package/lib/view/misc/paginator.js +2 -2
- package/lib/view/misc/structured_data.js +2 -2
- package/lib/view/misc/web_app.js +2 -2
- package/lib/view/plugin/baidu_analytics.js +2 -2
- package/lib/view/plugin/bing_webmaster.js +2 -2
- package/lib/view/plugin/busuanzi.js +2 -2
- package/lib/view/plugin/cnzz.js +2 -2
- package/lib/view/plugin/cookie_consent.js +2 -2
- package/lib/view/plugin/gallery.js +2 -2
- package/lib/view/plugin/google_analytics.js +2 -2
- package/lib/view/plugin/hotjar.js +2 -2
- package/lib/view/plugin/katex.js +2 -2
- package/lib/view/plugin/mathjax.js +2 -2
- package/lib/view/plugin/outdated_browser.js +2 -2
- package/lib/view/plugin/progressbar.js +2 -2
- package/lib/view/plugin/statcounter.js +2 -2
- package/lib/view/plugin/twitter_conversion_tracking.js +2 -2
- package/lib/view/search/algolia.js +2 -2
- package/lib/view/search/baidu.js +2 -2
- package/lib/view/search/google_cse.js +2 -2
- package/lib/view/search/insight.js +2 -2
- package/lib/view/share/addthis.js +2 -2
- package/lib/view/share/addtoany.js +2 -2
- package/lib/view/share/bdshare.js +2 -2
- package/lib/view/share/sharejs.js +2 -2
- package/lib/view/share/sharethis.js +2 -2
- package/lib/view/widget/adsense.js +2 -2
- package/lib/view/widget/archives.js +2 -2
- package/lib/view/widget/categories.js +2 -2
- package/lib/view/widget/followit.js +2 -2
- package/lib/view/widget/links.js +2 -2
- package/lib/view/widget/recent_posts.js +2 -2
- package/lib/view/widget/subscribe_email.js +2 -2
- package/lib/view/widget/tags.js +16 -15
- package/lib/view/widget/toc.js +2 -2
- package/package.json +8 -12
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/comment/waline.json",
|
|
4
|
+
"description": "Waline comment plugin configurations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "waline"
|
|
10
|
+
},
|
|
11
|
+
"server_url": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Waline server address url."
|
|
14
|
+
},
|
|
15
|
+
"path": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Article path id. Used to distinguish different article pages to ensure loading the correct comment list under the article page."
|
|
18
|
+
},
|
|
19
|
+
"lang": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Display language.",
|
|
22
|
+
"enum": ["zh", "zh-CN", "zh-TW", "en", "en-US", "jp", "jp-JP"],
|
|
23
|
+
"default": "zh-CN",
|
|
24
|
+
"nullable": true
|
|
25
|
+
},
|
|
26
|
+
"visitor": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"description": "Show visitor count",
|
|
29
|
+
"default": false,
|
|
30
|
+
"nullable": true
|
|
31
|
+
},
|
|
32
|
+
"emoji": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"items": {
|
|
35
|
+
"oneOf": [
|
|
36
|
+
{
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "object",
|
|
41
|
+
"description": "Emoji set configuration.",
|
|
42
|
+
"properties": {
|
|
43
|
+
"name": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"description": "Emoji name on the tab."
|
|
46
|
+
},
|
|
47
|
+
"folder": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Image folder link."
|
|
50
|
+
},
|
|
51
|
+
"prefix": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "The general prefix of images' filename."
|
|
54
|
+
},
|
|
55
|
+
"type": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"description": "Type of the picture, which will be used as file extension."
|
|
58
|
+
},
|
|
59
|
+
"icon": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "Filename of the icon image used in tab (requirement is the same as items)."
|
|
62
|
+
},
|
|
63
|
+
"items": {
|
|
64
|
+
"type": "array",
|
|
65
|
+
"description": "Each item is the picture filename without common prefix (do not include file extension).",
|
|
66
|
+
"items": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"required": ["name", "folder"]
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"description": "Emoji settings.",
|
|
76
|
+
"default": ["https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo"],
|
|
77
|
+
"nullable": true
|
|
78
|
+
},
|
|
79
|
+
"dark": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"description": "Darkmode support.",
|
|
82
|
+
"nullable": true
|
|
83
|
+
},
|
|
84
|
+
"meta": {
|
|
85
|
+
"type": "array",
|
|
86
|
+
"description": "Reviewer attributes.",
|
|
87
|
+
"items": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
},
|
|
90
|
+
"default": ["nick", "mail", "link"],
|
|
91
|
+
"nullable": true
|
|
92
|
+
},
|
|
93
|
+
"required_meta": {
|
|
94
|
+
"type": "array",
|
|
95
|
+
"description": "Required commenter information fields.",
|
|
96
|
+
"default": [],
|
|
97
|
+
"nullable": true
|
|
98
|
+
},
|
|
99
|
+
"login": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"description": "Login mode status.",
|
|
102
|
+
"enum": ["enable", "disable", "force"],
|
|
103
|
+
"default": "enable",
|
|
104
|
+
"nullable": true
|
|
105
|
+
},
|
|
106
|
+
"word_limit": {
|
|
107
|
+
"oneOf": [
|
|
108
|
+
{
|
|
109
|
+
"type": "number",
|
|
110
|
+
"minimum": 0,
|
|
111
|
+
"nullable": true
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "array",
|
|
115
|
+
"minItems": 2,
|
|
116
|
+
"maxItems": 2,
|
|
117
|
+
"items": {
|
|
118
|
+
"type": "number",
|
|
119
|
+
"minimum": 0
|
|
120
|
+
},
|
|
121
|
+
"nullable": true
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"description": "Comment word s limit. When a single number is filled in, it 's the maximum number of comment words. No limit when set to 0.",
|
|
125
|
+
"default": 0
|
|
126
|
+
},
|
|
127
|
+
"page_size": {
|
|
128
|
+
"type": "number",
|
|
129
|
+
"description": "number of comments per page.",
|
|
130
|
+
"default": 10,
|
|
131
|
+
"nullable": true
|
|
132
|
+
},
|
|
133
|
+
"upload_image": {
|
|
134
|
+
"type": "boolean",
|
|
135
|
+
"description": "If you set it to false, image upload feature will be disabled.",
|
|
136
|
+
"default": true,
|
|
137
|
+
"nullable": true
|
|
138
|
+
},
|
|
139
|
+
"highlight": {
|
|
140
|
+
"type": "boolean",
|
|
141
|
+
"description": "Code highlighting, it's enabled by default, please close it selectively.",
|
|
142
|
+
"default": true,
|
|
143
|
+
"nullable": true
|
|
144
|
+
},
|
|
145
|
+
"math": {
|
|
146
|
+
"type": "boolean",
|
|
147
|
+
"description": "If you set it to 'false', math preview feature will be disabled.",
|
|
148
|
+
"default": false,
|
|
149
|
+
"nullable": true
|
|
150
|
+
},
|
|
151
|
+
"copyright": {
|
|
152
|
+
"type": "boolean",
|
|
153
|
+
"description": "Whether show copyright and version in footer.",
|
|
154
|
+
"default": true,
|
|
155
|
+
"nullable": true
|
|
156
|
+
},
|
|
157
|
+
"locale": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"description": "I18n configurations",
|
|
160
|
+
"nullable": true
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": ["type", "server_url"]
|
|
164
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/donate/afdian.json",
|
|
4
|
+
"description": "\"Afdian.net\" donate button configurations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "afdian"
|
|
10
|
+
},
|
|
11
|
+
"url": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "URL to the \"Afdian.net\" personal page"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["type", "url"]
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/donate/alipay.json",
|
|
4
|
+
"description": "Alipay donate button configurations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "alipay"
|
|
10
|
+
},
|
|
11
|
+
"qrcode": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Alipay qrcode image URL"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["type", "qrcode"]
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/donate/buymeacoffee.json",
|
|
4
|
+
"description": "\"Buy me a coffee\" donate button configurations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "buymeacoffee"
|
|
10
|
+
},
|
|
11
|
+
"url": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "URL to the \"Buy me a coffee\" page"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["type", "url"]
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/donate/patreon.json",
|
|
4
|
+
"description": "Patreon donate button configurations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "patreon"
|
|
10
|
+
},
|
|
11
|
+
"url": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "URL to the Patreon page"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["type", "url"]
|
|
17
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/donate/paypal.json",
|
|
4
|
+
"description": "Paypal donate button configurations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "paypal"
|
|
10
|
+
},
|
|
11
|
+
"business": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Paypal business ID or email address"
|
|
14
|
+
},
|
|
15
|
+
"currency_code": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Currency code",
|
|
18
|
+
"examples": ["USD"]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": ["type", "business", "currency_code"]
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/donate/wechat.json",
|
|
4
|
+
"description": "Wechat donate button configurations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "wechat"
|
|
10
|
+
},
|
|
11
|
+
"qrcode": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Wechat qrcode image URL"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": ["type", "qrcode"]
|
|
17
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/misc/manifest.json",
|
|
4
|
+
"description": "Web application manifests configuration\nhttps://developer.mozilla.org/en-US/docs/Web/Manifest",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Name of the web application (default to the site title)",
|
|
10
|
+
"nullable": true
|
|
11
|
+
},
|
|
12
|
+
"short_name": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The displayed name of the web application\nwhen there is not enough space to display full name",
|
|
15
|
+
"nullable": true
|
|
16
|
+
},
|
|
17
|
+
"start_url": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "The start URL of the web application",
|
|
20
|
+
"nullable": true
|
|
21
|
+
},
|
|
22
|
+
"theme_color": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "The default theme color for the application",
|
|
25
|
+
"nullable": true
|
|
26
|
+
},
|
|
27
|
+
"background_color": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "A placeholder background color for the application page to display\nbefore its stylesheet is loaded",
|
|
30
|
+
"nullable": true
|
|
31
|
+
},
|
|
32
|
+
"display": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "The preferred display mode for the website",
|
|
35
|
+
"nullable": true,
|
|
36
|
+
"default": "standalone"
|
|
37
|
+
},
|
|
38
|
+
"icons": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"description": "Image files that can serve as application icons for different contexts",
|
|
41
|
+
"items": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"src": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "The path to the image file",
|
|
47
|
+
"nullable": false
|
|
48
|
+
},
|
|
49
|
+
"sizes": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"description": "A string containing space-separated image dimensions",
|
|
52
|
+
"nullable": false
|
|
53
|
+
},
|
|
54
|
+
"type": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "A hint as to the media type of the image",
|
|
57
|
+
"nullable": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": ["src", "sizes"]
|
|
61
|
+
},
|
|
62
|
+
"nullable": true
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"nullable": true
|
|
66
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/misc/meta.json",
|
|
4
|
+
"description": "Additional HTML meta tags in an array",
|
|
5
|
+
"type": "array",
|
|
6
|
+
"items": {
|
|
7
|
+
"type": "string",
|
|
8
|
+
"description": "Meta tag specified in <attribute>=<value> style\nE.g., name=theme-color;content=#123456 => <meta name=\"theme-color\" content=\"#123456\">"
|
|
9
|
+
},
|
|
10
|
+
"nullable": true
|
|
11
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/misc/open_graph.json",
|
|
4
|
+
"description": "Open Graph metadata\nhttps://hexo.io/docs/helpers.html#open-graph",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"title": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Page title (og:title) (optional)\nYou should leave this blank for most of the time",
|
|
10
|
+
"nullable": true
|
|
11
|
+
},
|
|
12
|
+
"type": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Page type (og:type) (optional)\nYou should leave this blank for most of the time",
|
|
15
|
+
"default": "blog",
|
|
16
|
+
"nullable": true
|
|
17
|
+
},
|
|
18
|
+
"url": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Page URL (og:url) (optional)\nYou should leave this blank for most of the time",
|
|
21
|
+
"nullable": true
|
|
22
|
+
},
|
|
23
|
+
"image": {
|
|
24
|
+
"type": ["string", "array"],
|
|
25
|
+
"description": "Page cover (og:image) (optional)\nYou should leave this blank for most of the time",
|
|
26
|
+
"items": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"nullable": true
|
|
30
|
+
},
|
|
31
|
+
"site_name": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "Site name (og:site_name) (optional)\nYou should leave this blank for most of the time",
|
|
34
|
+
"nullable": true
|
|
35
|
+
},
|
|
36
|
+
"author": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "Page author (article:author) (optional)\nYou should leave this blank for most of the time",
|
|
39
|
+
"nullable": true
|
|
40
|
+
},
|
|
41
|
+
"description": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "Page description (og:description) (optional)\nYou should leave this blank for most of the time",
|
|
44
|
+
"nullable": true
|
|
45
|
+
},
|
|
46
|
+
"twitter_card": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Twitter card type (twitter:card)",
|
|
49
|
+
"nullable": true
|
|
50
|
+
},
|
|
51
|
+
"twitter_id": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "Twitter ID (twitter:creator)",
|
|
54
|
+
"nullable": true
|
|
55
|
+
},
|
|
56
|
+
"twitter_site": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"description": "Twitter Site (twitter:site)",
|
|
59
|
+
"nullable": true
|
|
60
|
+
},
|
|
61
|
+
"google_plus": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "Google+ profile link (deprecated)",
|
|
64
|
+
"nullable": true
|
|
65
|
+
},
|
|
66
|
+
"fb_admins": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Facebook admin ID",
|
|
69
|
+
"nullable": true
|
|
70
|
+
},
|
|
71
|
+
"fb_app_id": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"description": "Facebook App ID",
|
|
74
|
+
"nullable": true
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"nullable": true
|
|
78
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/misc/poly_links.json",
|
|
4
|
+
"description": "A polymorphic link",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"patternProperties": {
|
|
7
|
+
".+": {
|
|
8
|
+
"type": ["string", "object"],
|
|
9
|
+
"description": "URL or path of the link, with/without the icon element class name",
|
|
10
|
+
"properties": {
|
|
11
|
+
"url": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "URL or path of the link"
|
|
14
|
+
},
|
|
15
|
+
"icon": {
|
|
16
|
+
"type": ["string", "array"],
|
|
17
|
+
"description": "Icon element class name"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": ["url", "icon"]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"examples": [
|
|
24
|
+
{
|
|
25
|
+
"My GitHub Page": "https://github.com/ppoffice"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"My GitHub Page": {
|
|
29
|
+
"url": "https://github.com/ppoffice",
|
|
30
|
+
"icon": "fab fa-github"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"nullable": true
|
|
35
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/misc/structured_data.json",
|
|
4
|
+
"description": "Structured data of the page\nhttps://developers.google.com/search/docs/guides/intro-structured-data",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"title": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Page title (optional)\nYou should leave this blank for most of the time",
|
|
10
|
+
"nullable": true
|
|
11
|
+
},
|
|
12
|
+
"description": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Page description (optional)\nYou should leave this blank for most of the time",
|
|
15
|
+
"nullable": true
|
|
16
|
+
},
|
|
17
|
+
"url": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "Page URL (optional)\nYou should leave this blank for most of the time",
|
|
20
|
+
"nullable": true
|
|
21
|
+
},
|
|
22
|
+
"author": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Page author (article:author) (optional)\nYou should leave this blank for most of the time",
|
|
25
|
+
"nullable": true
|
|
26
|
+
},
|
|
27
|
+
"publisher": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Page publisher (optional)\nYou should leave this blank for most of the time",
|
|
30
|
+
"nullable": true
|
|
31
|
+
},
|
|
32
|
+
"publisher_logo": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "Page publisher logo (optional)\nYou should leave this blank for most of the time",
|
|
35
|
+
"nullable": true
|
|
36
|
+
},
|
|
37
|
+
"image": {
|
|
38
|
+
"type": ["string", "array"],
|
|
39
|
+
"description": "Page images (optional)\nYou should leave this blank for most of the time",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"nullable": true
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"nullable": true
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/plugin/baidu_analytics.json",
|
|
4
|
+
"description": "Baidu Analytics plugin settings\nhttps://tongji.baidu.com",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"tracking_id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Baidu Analytics tracking ID",
|
|
10
|
+
"nullable": true
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"required": ["tracking_id"]
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/plugin/bing_webmaster.json",
|
|
4
|
+
"description": "Bing Webmaster Tools plugin settings\nhttps://www.bing.com/toolbox/webmaster/",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"tracking_id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Bing Webmaster Tools tracking ID in the <meta> tag",
|
|
10
|
+
"nullable": true
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"required": ["tracking_id"]
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/plugin/cnzz.json",
|
|
4
|
+
"description": "CNZZ statistics\nhttps://www.umeng.com/web",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"id": {
|
|
8
|
+
"type": ["string", "number"],
|
|
9
|
+
"description": "CNZZ tracker id",
|
|
10
|
+
"nullable": true
|
|
11
|
+
},
|
|
12
|
+
"web_id": {
|
|
13
|
+
"type": ["string", "number"],
|
|
14
|
+
"description": "CNZZ website id",
|
|
15
|
+
"nullable": true
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": ["id", "web_id"]
|
|
19
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/plugin/cookie_consent.json",
|
|
4
|
+
"description": "Alerting users about the use of cookies\nhttps://www.osano.com/cookieconsent/",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The compliance type. Can be \"info\", \"opt-in\", or \"opt-out\"",
|
|
10
|
+
"default": "info",
|
|
11
|
+
"nullable": true
|
|
12
|
+
},
|
|
13
|
+
"theme": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"description": "Theme of the popup. Can be \"block\", \"edgeless\", or \"classic\"",
|
|
16
|
+
"default": "edgeless",
|
|
17
|
+
"nullable": true
|
|
18
|
+
},
|
|
19
|
+
"static": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"description": "Whether the popup should stay static regardless of the page scrolls",
|
|
22
|
+
"default": false,
|
|
23
|
+
"nullable": true
|
|
24
|
+
},
|
|
25
|
+
"position": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Where on the screen the consent popup should display",
|
|
28
|
+
"default": "bottom-left",
|
|
29
|
+
"nullable": true
|
|
30
|
+
},
|
|
31
|
+
"policyLink": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "URL to your site's cookie policy",
|
|
34
|
+
"default": "https://www.cookiesandyou.com/",
|
|
35
|
+
"nullable": true
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/plugin/google_analytics.json",
|
|
4
|
+
"description": "Google Analytics plugin settings\nhttps://analytics.google.com",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"tracking_id": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Google Analytics tracking ID",
|
|
10
|
+
"nullable": true
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"required": ["tracking_id"]
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/plugin/hotjar.json",
|
|
4
|
+
"description": "Hotjar user feedback plugin\nhttps://www.hotjar.com/",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"site_id": {
|
|
8
|
+
"type": ["string", "number"],
|
|
9
|
+
"description": "Hotjar site id",
|
|
10
|
+
"nullable": true
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"required": ["site_id"]
|
|
14
|
+
}
|