mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
fix(theme): change schema.org itemType prop urls from http to https (#9184)
This commit is contained in:
parent
5e147e8914
commit
e0bb39a40a
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ export default function BlogLayout(props: Props): JSX.Element {
|
|||
'col--9 col--offset-1': !hasSidebar,
|
||||
})}
|
||||
itemScope
|
||||
itemType="http://schema.org/Blog">
|
||||
itemType="https://schema.org/Blog">
|
||||
{children}
|
||||
</main>
|
||||
{toc && <div className="col col--2">{toc}</div>}
|
||||
|
|
|
@ -27,7 +27,7 @@ export default function BlogPostItemContainer({
|
|||
className={className}
|
||||
itemProp="blogPost"
|
||||
itemScope
|
||||
itemType="http://schema.org/BlogPosting">
|
||||
itemType="https://schema.org/BlogPosting">
|
||||
{description && <meta itemProp="description" content={description} />}
|
||||
{image && (
|
||||
<link itemProp="image" href={withBaseUrl(image, {absolute: true})} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue