Skip to content

Commit 5e2760c

Browse files
committed
Fix structured data review feedback.
1 parent f5d6173 commit 5e2760c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/src/layouts/components/StructuredData.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type ItemListEntry = {
1919
dateModified?: string;
2020
};
2121
22-
type WebPageType = "WebPage" | "CollectionPage" | "Blog";
22+
type WebPageType = "WebPage" | "CollectionPage";
2323
2424
type ArticleProps = {
2525
type: "article";

docs/src/pages/blog/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const seo = {
3333
const structuredData = {
3434
type: "static" as const,
3535
page: {
36-
pageType: "Blog" as const,
36+
pageType: "CollectionPage" as const,
3737
name: "RocketSim Blog",
3838
description: seo.description,
3939
url: seo.canonical,

docs/src/pages/features/[featurePageSlug].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const structuredData = {
4646
itemList: featureItems.map((feature) => ({
4747
name: feature.data.name,
4848
description: feature.data.tagLine,
49-
url: canonicalUrl,
49+
url: feature.data.docPath ?? canonicalUrl,
5050
})),
5151
},
5252
};

0 commit comments

Comments
 (0)