bunki 0.12.0 → 0.12.1
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/cli.js +5 -5
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -33206,7 +33206,7 @@ function generateOrganizationSchema(site) {
|
|
|
33206
33206
|
"@context": "https://schema.org",
|
|
33207
33207
|
"@type": "Organization",
|
|
33208
33208
|
name: site.title,
|
|
33209
|
-
url: site.baseUrl
|
|
33209
|
+
url: `${site.baseUrl}/`
|
|
33210
33210
|
};
|
|
33211
33211
|
if (site.description) {
|
|
33212
33212
|
organization.description = site.description;
|
|
@@ -33239,7 +33239,7 @@ function generateBlogPostingSchema(options2) {
|
|
|
33239
33239
|
blogPosting.publisher = {
|
|
33240
33240
|
"@type": "Organization",
|
|
33241
33241
|
name: site.title,
|
|
33242
|
-
url: site.baseUrl
|
|
33242
|
+
url: `${site.baseUrl}/`
|
|
33243
33243
|
};
|
|
33244
33244
|
if (imageUrl) {
|
|
33245
33245
|
blogPosting.image = imageUrl;
|
|
@@ -33263,7 +33263,7 @@ function generateWebSiteSchema(options2) {
|
|
|
33263
33263
|
"@context": "https://schema.org",
|
|
33264
33264
|
"@type": "WebSite",
|
|
33265
33265
|
name: site.title,
|
|
33266
|
-
url: site.baseUrl
|
|
33266
|
+
url: `${site.baseUrl}/`
|
|
33267
33267
|
};
|
|
33268
33268
|
if (site.description) {
|
|
33269
33269
|
webSite.description = site.description;
|
|
@@ -33298,7 +33298,7 @@ function generateBreadcrumbListSchema(options2) {
|
|
|
33298
33298
|
"@type": "ListItem",
|
|
33299
33299
|
position: 1,
|
|
33300
33300
|
name: "Home",
|
|
33301
|
-
item: site.baseUrl
|
|
33301
|
+
item: `${site.baseUrl}/`
|
|
33302
33302
|
};
|
|
33303
33303
|
breadcrumbs.itemListElement.push(homeItem);
|
|
33304
33304
|
if (post) {
|
|
@@ -33769,7 +33769,7 @@ ${categoryTags}`;
|
|
|
33769
33769
|
`);
|
|
33770
33770
|
let channelXml = ` <channel>
|
|
33771
33771
|
<title><![CDATA[${config.title}]]></title>
|
|
33772
|
-
<link>${config.baseUrl}
|
|
33772
|
+
<link>${config.baseUrl}/</link>
|
|
33773
33773
|
<description><![CDATA[${config.description}]]></description>`;
|
|
33774
33774
|
const language = config.rssLanguage || "en-US";
|
|
33775
33775
|
channelXml += `
|
package/dist/index.js
CHANGED
|
@@ -31153,7 +31153,7 @@ function generateOrganizationSchema(site) {
|
|
|
31153
31153
|
"@context": "https://schema.org",
|
|
31154
31154
|
"@type": "Organization",
|
|
31155
31155
|
name: site.title,
|
|
31156
|
-
url: site.baseUrl
|
|
31156
|
+
url: `${site.baseUrl}/`
|
|
31157
31157
|
};
|
|
31158
31158
|
if (site.description) {
|
|
31159
31159
|
organization.description = site.description;
|
|
@@ -31186,7 +31186,7 @@ function generateBlogPostingSchema(options2) {
|
|
|
31186
31186
|
blogPosting.publisher = {
|
|
31187
31187
|
"@type": "Organization",
|
|
31188
31188
|
name: site.title,
|
|
31189
|
-
url: site.baseUrl
|
|
31189
|
+
url: `${site.baseUrl}/`
|
|
31190
31190
|
};
|
|
31191
31191
|
if (imageUrl) {
|
|
31192
31192
|
blogPosting.image = imageUrl;
|
|
@@ -31210,7 +31210,7 @@ function generateWebSiteSchema(options2) {
|
|
|
31210
31210
|
"@context": "https://schema.org",
|
|
31211
31211
|
"@type": "WebSite",
|
|
31212
31212
|
name: site.title,
|
|
31213
|
-
url: site.baseUrl
|
|
31213
|
+
url: `${site.baseUrl}/`
|
|
31214
31214
|
};
|
|
31215
31215
|
if (site.description) {
|
|
31216
31216
|
webSite.description = site.description;
|
|
@@ -31245,7 +31245,7 @@ function generateBreadcrumbListSchema(options2) {
|
|
|
31245
31245
|
"@type": "ListItem",
|
|
31246
31246
|
position: 1,
|
|
31247
31247
|
name: "Home",
|
|
31248
|
-
item: site.baseUrl
|
|
31248
|
+
item: `${site.baseUrl}/`
|
|
31249
31249
|
};
|
|
31250
31250
|
breadcrumbs.itemListElement.push(homeItem);
|
|
31251
31251
|
if (post) {
|
|
@@ -31716,7 +31716,7 @@ ${categoryTags}`;
|
|
|
31716
31716
|
`);
|
|
31717
31717
|
let channelXml = ` <channel>
|
|
31718
31718
|
<title><![CDATA[${config.title}]]></title>
|
|
31719
|
-
<link>${config.baseUrl}
|
|
31719
|
+
<link>${config.baseUrl}/</link>
|
|
31720
31720
|
<description><![CDATA[${config.description}]]></description>`;
|
|
31721
31721
|
const language = config.rssLanguage || "en-US";
|
|
31722
31722
|
channelXml += `
|
package/package.json
CHANGED