@hyperbook/markdown 0.11.1 → 0.11.2
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 +2 -2
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -64243,7 +64243,7 @@ var rehypeHtmlStructure_default = (ctx) => () => {
|
|
|
64243
64243
|
children: [
|
|
64244
64244
|
{
|
|
64245
64245
|
type: "text",
|
|
64246
|
-
value: `${currentPage?.name} - ${config2.name}`
|
|
64246
|
+
value: currentPage?.name ? `${currentPage?.name} - ${config2.name}` : config2.name
|
|
64247
64247
|
}
|
|
64248
64248
|
]
|
|
64249
64249
|
},
|
|
@@ -64252,7 +64252,7 @@ var rehypeHtmlStructure_default = (ctx) => () => {
|
|
|
64252
64252
|
tagName: "meta",
|
|
64253
64253
|
properties: {
|
|
64254
64254
|
property: "og:title",
|
|
64255
|
-
|
|
64255
|
+
value: currentPage?.name ? `${currentPage?.name} - ${config2.name}` : config2.name
|
|
64256
64256
|
},
|
|
64257
64257
|
children: []
|
|
64258
64258
|
},
|