Skip to content

Commit

Permalink
fix(QuestionBlock): duplicate faq schema (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
PahaN47 authored Nov 5, 2024
1 parent c529869 commit 3b28165
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/blocks/Questions/Questions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ const QuestionsBlock = (props: QuestionsProps) => {
};

return (
<div className={b()} itemScope itemType={FaqMicrodataValues.PageType}>
<div
className={b()}
itemScope
itemType={FaqMicrodataValues.PageType}
itemID={FaqMicrodataValues.PageId}
>
<Row>
<Col sizes={{all: 12, md: 4}}>
<div className={b('title')}>
Expand Down
1 change: 1 addition & 0 deletions src/blocks/Questions/models.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export const FaqMicrodataValues = {
PageType: 'https://schema.org/FAQPage',
PageId: '/faq',
QuestionType: 'https://schema.org/Question',
QuestionProp: 'mainEntity',
QuestionNameProp: 'name',
Expand Down

0 comments on commit 3b28165

Please sign in to comment.