Skip to content

Commit 3b28165

Browse files
authored
fix(QuestionBlock): duplicate faq schema (#1063)
1 parent c529869 commit 3b28165

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/blocks/Questions/Questions.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ const QuestionsBlock = (props: QuestionsProps) => {
2929
};
3030

3131
return (
32-
<div className={b()} itemScope itemType={FaqMicrodataValues.PageType}>
32+
<div
33+
className={b()}
34+
itemScope
35+
itemType={FaqMicrodataValues.PageType}
36+
itemID={FaqMicrodataValues.PageId}
37+
>
3338
<Row>
3439
<Col sizes={{all: 12, md: 4}}>
3540
<div className={b('title')}>

src/blocks/Questions/models.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export const FaqMicrodataValues = {
22
PageType: 'https://schema.org/FAQPage',
3+
PageId: '/faq',
34
QuestionType: 'https://schema.org/Question',
45
QuestionProp: 'mainEntity',
56
QuestionNameProp: 'name',

0 commit comments

Comments
 (0)