mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 02:08:55 +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,
|
'col--9 col--offset-1': !hasSidebar,
|
||||||
})}
|
})}
|
||||||
itemScope
|
itemScope
|
||||||
itemType="http://schema.org/Blog">
|
itemType="https://schema.org/Blog">
|
||||||
{children}
|
{children}
|
||||||
</main>
|
</main>
|
||||||
{toc && <div className="col col--2">{toc}</div>}
|
{toc && <div className="col col--2">{toc}</div>}
|
||||||
|
|
|
@ -27,7 +27,7 @@ export default function BlogPostItemContainer({
|
||||||
className={className}
|
className={className}
|
||||||
itemProp="blogPost"
|
itemProp="blogPost"
|
||||||
itemScope
|
itemScope
|
||||||
itemType="http://schema.org/BlogPosting">
|
itemType="https://schema.org/BlogPosting">
|
||||||
{description && <meta itemProp="description" content={description} />}
|
{description && <meta itemProp="description" content={description} />}
|
||||||
{image && (
|
{image && (
|
||||||
<link itemProp="image" href={withBaseUrl(image, {absolute: true})} />
|
<link itemProp="image" href={withBaseUrl(image, {absolute: true})} />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue