hexo-component-inferno 1.0.2 → 2.0.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.
Files changed (125) hide show
  1. package/lib/hexo/generator/insight.js +8 -1
  2. package/lib/hexo/generator/insight.test.js +16 -0
  3. package/lib/hexo/helper/cdn.js +4 -11
  4. package/lib/hexo/helper/cdn.test.js +9 -37
  5. package/lib/hexo/tag/message.js +100 -0
  6. package/lib/hexo/tag/message.test.js +79 -0
  7. package/lib/hexo/tag/tabs.js +290 -0
  8. package/lib/hexo/tag/tabs.test.js +106 -0
  9. package/lib/schema/comment/twikoo.json +28 -0
  10. package/lib/schema/comment/waline.json +46 -43
  11. package/lib/schema/schema/comment/changyan.json +21 -0
  12. package/lib/schema/schema/comment/disqus.json +17 -0
  13. package/lib/schema/schema/comment/disqusjs.json +53 -0
  14. package/lib/schema/schema/comment/facebook.json +13 -0
  15. package/lib/schema/schema/comment/gitalk.json +81 -0
  16. package/lib/schema/schema/comment/gitment.json +47 -0
  17. package/lib/schema/schema/comment/isso.json +17 -0
  18. package/lib/schema/schema/comment/livere.json +17 -0
  19. package/lib/schema/schema/comment/twikoo.json +28 -0
  20. package/lib/schema/schema/comment/utterances.json +59 -0
  21. package/lib/schema/schema/comment/valine.json +105 -0
  22. package/lib/schema/schema/comment/waline.json +176 -0
  23. package/lib/schema/schema/donate/afdian.json +17 -0
  24. package/lib/schema/schema/donate/alipay.json +17 -0
  25. package/lib/schema/schema/donate/buymeacoffee.json +17 -0
  26. package/lib/schema/schema/donate/patreon.json +17 -0
  27. package/lib/schema/schema/donate/paypal.json +22 -0
  28. package/lib/schema/schema/donate/wechat.json +17 -0
  29. package/lib/schema/schema/misc/manifest.json +66 -0
  30. package/lib/schema/schema/misc/meta.json +11 -0
  31. package/lib/schema/schema/misc/open_graph.json +78 -0
  32. package/lib/schema/schema/misc/poly_links.json +35 -0
  33. package/lib/schema/schema/misc/structured_data.json +47 -0
  34. package/lib/schema/schema/plugin/baidu_analytics.json +14 -0
  35. package/lib/schema/schema/plugin/bing_webmaster.json +14 -0
  36. package/lib/schema/schema/plugin/busuanzi.json +7 -0
  37. package/lib/schema/schema/plugin/cnzz.json +19 -0
  38. package/lib/schema/schema/plugin/cookie_consent.json +38 -0
  39. package/lib/schema/schema/plugin/gallery.json +7 -0
  40. package/lib/schema/schema/plugin/google_analytics.json +14 -0
  41. package/lib/schema/schema/plugin/hotjar.json +14 -0
  42. package/lib/schema/schema/plugin/katex.json +7 -0
  43. package/lib/schema/schema/plugin/mathjax.json +7 -0
  44. package/lib/schema/schema/plugin/outdated_browser.json +7 -0
  45. package/lib/schema/schema/plugin/progressbar.json +7 -0
  46. package/lib/schema/schema/plugin/statcounter.json +19 -0
  47. package/lib/schema/schema/plugin/twitter_conversion_tracking.json +14 -0
  48. package/lib/schema/schema/search/algolia.json +13 -0
  49. package/lib/schema/schema/search/baidu.json +13 -0
  50. package/lib/schema/schema/search/google_cse.json +17 -0
  51. package/lib/schema/schema/search/insight.json +19 -0
  52. package/lib/schema/schema/share/addthis.json +17 -0
  53. package/lib/schema/schema/share/addtoany.json +13 -0
  54. package/lib/schema/schema/share/bdshare.json +13 -0
  55. package/lib/schema/schema/share/sharejs.json +13 -0
  56. package/lib/schema/schema/share/sharethis.json +17 -0
  57. package/lib/schema/schema/widget/adsense.json +21 -0
  58. package/lib/schema/schema/widget/archives.json +13 -0
  59. package/lib/schema/schema/widget/categories.json +13 -0
  60. package/lib/schema/schema/widget/followit.json +26 -0
  61. package/lib/schema/schema/widget/links.json +47 -0
  62. package/lib/schema/schema/widget/recent_posts.json +13 -0
  63. package/lib/schema/schema/widget/subscribe_email.json +22 -0
  64. package/lib/schema/schema/widget/tags.json +30 -0
  65. package/lib/schema/schema/widget/toc.json +31 -0
  66. package/lib/schema/search/insight.json +6 -0
  67. package/lib/schema/widget/tags.json +17 -0
  68. package/lib/view/comment/changyan.js +2 -2
  69. package/lib/view/comment/disqus.js +2 -2
  70. package/lib/view/comment/disqusjs.js +2 -2
  71. package/lib/view/comment/facebook.js +2 -2
  72. package/lib/view/comment/gitalk.js +2 -2
  73. package/lib/view/comment/gitment.js +2 -2
  74. package/lib/view/comment/isso.js +2 -2
  75. package/lib/view/comment/livere.js +2 -2
  76. package/lib/view/comment/twikoo.js +113 -0
  77. package/lib/view/comment/utterances.js +3 -3
  78. package/lib/view/comment/valine.js +3 -3
  79. package/lib/view/comment/waline.js +63 -52
  80. package/lib/view/common/article_media.js +2 -2
  81. package/lib/view/donate/afdian.js +2 -2
  82. package/lib/view/donate/alipay.js +2 -2
  83. package/lib/view/donate/buymeacoffee.js +2 -2
  84. package/lib/view/donate/patreon.js +2 -2
  85. package/lib/view/donate/paypal.js +2 -2
  86. package/lib/view/donate/wechat.js +2 -2
  87. package/lib/view/misc/article_licensing.js +2 -2
  88. package/lib/view/misc/meta.js +2 -2
  89. package/lib/view/misc/open_graph.js +12 -4
  90. package/lib/view/misc/paginator.js +2 -2
  91. package/lib/view/misc/structured_data.js +2 -2
  92. package/lib/view/misc/web_app.js +2 -2
  93. package/lib/view/plugin/baidu_analytics.js +2 -2
  94. package/lib/view/plugin/bing_webmaster.js +2 -2
  95. package/lib/view/plugin/busuanzi.js +2 -2
  96. package/lib/view/plugin/cnzz.js +2 -2
  97. package/lib/view/plugin/cookie_consent.js +2 -2
  98. package/lib/view/plugin/gallery.js +2 -2
  99. package/lib/view/plugin/google_analytics.js +2 -2
  100. package/lib/view/plugin/hotjar.js +2 -2
  101. package/lib/view/plugin/katex.js +2 -2
  102. package/lib/view/plugin/mathjax.js +2 -2
  103. package/lib/view/plugin/outdated_browser.js +2 -2
  104. package/lib/view/plugin/progressbar.js +2 -2
  105. package/lib/view/plugin/statcounter.js +2 -2
  106. package/lib/view/plugin/twitter_conversion_tracking.js +2 -2
  107. package/lib/view/search/algolia.js +2 -2
  108. package/lib/view/search/baidu.js +2 -2
  109. package/lib/view/search/google_cse.js +2 -2
  110. package/lib/view/search/insight.js +2 -2
  111. package/lib/view/share/addthis.js +2 -2
  112. package/lib/view/share/addtoany.js +2 -2
  113. package/lib/view/share/bdshare.js +2 -2
  114. package/lib/view/share/sharejs.js +2 -2
  115. package/lib/view/share/sharethis.js +2 -2
  116. package/lib/view/widget/adsense.js +2 -2
  117. package/lib/view/widget/archives.js +2 -2
  118. package/lib/view/widget/categories.js +2 -2
  119. package/lib/view/widget/followit.js +2 -2
  120. package/lib/view/widget/links.js +2 -2
  121. package/lib/view/widget/recent_posts.js +2 -2
  122. package/lib/view/widget/subscribe_email.js +2 -2
  123. package/lib/view/widget/tags.js +16 -15
  124. package/lib/view/widget/toc.js +2 -2
  125. package/package.json +10 -11
@@ -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,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/plugin/busuanzi.json",
4
+ "description": "BuSuanZi site/page view counter\nhttps://busuanzi.ibruce.info",
5
+ "type": "boolean",
6
+ "default": false
7
+ }
@@ -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,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/plugin/gallery.json",
4
+ "description": "Enable the lightGallery and Justified Gallery plugins",
5
+ "type": "boolean",
6
+ "default": true
7
+ }
@@ -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
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/plugin/katex.json",
4
+ "description": "Enable the KaTeX math typesetting support\nhttps://katex.org/",
5
+ "type": "boolean",
6
+ "default": false
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/plugin/mathjax.json",
4
+ "description": "Enable the MathJax math typesetting support\nhttps://www.mathjax.org/",
5
+ "type": "boolean",
6
+ "default": false
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/plugin/outdated_browser.json",
4
+ "description": "Enable the Outdated Browser plugin\nhttp://outdatedbrowser.com/",
5
+ "type": "boolean",
6
+ "default": false
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/plugin/progressbar.json",
4
+ "description": "Show a progress bar at top of the page on page loading",
5
+ "type": "boolean",
6
+ "default": true
7
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/plugin/statcounter.json",
4
+ "description": "Statcounter statistics\nhttps://statcounter.com/",
5
+ "type": "object",
6
+ "properties": {
7
+ "project": {
8
+ "type": ["string", "number"],
9
+ "description": "Statcounter project id",
10
+ "nullable": true
11
+ },
12
+ "security": {
13
+ "type": ["string", "number"],
14
+ "description": "Statcounter project security code",
15
+ "nullable": true
16
+ }
17
+ },
18
+ "required": ["project", "security"]
19
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/plugin/twitter_conversion_tracking.json",
4
+ "description": "Twitter conversion tracking plugin settings\nhttps://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html",
5
+ "type": "object",
6
+ "properties": {
7
+ "pixel_id": {
8
+ "type": "string",
9
+ "description": "Twitter Pixel ID",
10
+ "nullable": true
11
+ }
12
+ },
13
+ "required": ["pixel_id"]
14
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/search/algolia.json",
4
+ "description": "Enable Algolia search\nhttps://www.algolia.com",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "algolia"
10
+ }
11
+ },
12
+ "required": ["type"]
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/search/baidu.json",
4
+ "description": "Enable Baidu search",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "baidu"
10
+ }
11
+ },
12
+ "required": ["type"]
13
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/search/google_cse.json",
4
+ "description": "Enable Google CSE\nhttps://cse.google.com/cse/create/new",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "google_cse"
10
+ },
11
+ "cx": {
12
+ "type": "string",
13
+ "description": "Google CSE cx value"
14
+ }
15
+ },
16
+ "required": ["type", "cx"]
17
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/search/insight.json",
4
+ "description": "Enable Insight search",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "insight"
10
+ },
11
+ "index_pages": {
12
+ "type": "boolean",
13
+ "description": "Whether to include pages in the search results",
14
+ "default": true,
15
+ "nullable": true
16
+ }
17
+ },
18
+ "required": ["type"]
19
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/share/addthis.json",
4
+ "description": "Enable AddThis share buttons\nhttps://www.addthis.com/",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "addthis"
10
+ },
11
+ "install_url": {
12
+ "type": "string",
13
+ "description": "URL to the AddThis share plugin script"
14
+ }
15
+ },
16
+ "required": ["type", "install_url"]
17
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/share/addtoany.json",
4
+ "description": "Enable AddToAny share buttons\nhttps://www.addtoany.com/",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "addtoany"
10
+ }
11
+ },
12
+ "required": ["type"]
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/share/bdshare.json",
4
+ "description": "Enable Baidu share buttons",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "bdshare"
10
+ }
11
+ },
12
+ "required": ["type"]
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/share/sharejs.json",
4
+ "description": "Enable Share.js share buttons\nhttps://github.com/overtrue/share.js/",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "sharejs"
10
+ }
11
+ },
12
+ "required": ["type"]
13
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "/share/sharethis.json",
4
+ "description": "Enable ShareThis share buttons\nhttps://sharethis.com/",
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "const": "sharethis"
10
+ },
11
+ "install_url": {
12
+ "type": "string",
13
+ "description": "URL to the ShareThis share plugin script"
14
+ }
15
+ },
16
+ "required": ["type", "install_url"]
17
+ }