@hagicode/hagilight-starlight 0.9.8-dev.115.1.3488f89 → 0.9.8
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/dist/index.js +3 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -221,7 +221,9 @@ import options from '${optionsId}';
|
|
|
221
221
|
const promotionImport = serializedOptions.promotoEnabled
|
|
222
222
|
? `import PromotoBanner from ${JSON.stringify(coreExport('PromotoBanner'))};`
|
|
223
223
|
: '';
|
|
224
|
-
const promotionRender = serializedOptions.promotoEnabled
|
|
224
|
+
const promotionRender = serializedOptions.promotoEnabled
|
|
225
|
+
? '<PromotoBanner siteId={options.links?.siteId} />'
|
|
226
|
+
: '';
|
|
225
227
|
const analyticsImport = serializedOptions.fiftyOneLaId
|
|
226
228
|
? `import Analytics51LA from ${JSON.stringify(coreExport('Analytics51LA'))};`
|
|
227
229
|
: '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hagicode/hagilight-starlight",
|
|
3
|
-
"version": "0.9.8
|
|
3
|
+
"version": "0.9.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Starlight plugin and components for HagiCode documentation",
|
|
6
6
|
"repository": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"assets/showcase/*"
|
|
54
54
|
],
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@hagicode/hagilight-core": "0.9.8
|
|
56
|
+
"@hagicode/hagilight-core": "0.9.8"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@astrojs/starlight": "^0.42.4",
|