Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.02 KB

gatsby-plugin-next-seo.logojsonld.md

File metadata and controls

31 lines (20 loc) · 1.02 KB

Home > gatsby-plugin-next-seo > LogoJsonLd

LogoJsonLd variable

Specify the image Google Search uses for your organization's logo in Search results and in the Knowledge Graph.

Signature:

LogoJsonLd: FC<LogoJsonLdProps>

Remarks

Google Search uses the markup in the use case example to recognize the image to use as the organization’s logo. This ensures that, when possible, the image appears in search results about the company. Markup like this is a strong signal to Google Search algorithms to show this image in Knowledge Graph displays.

import React from 'react';
import { LogoJsonLd } from 'gatsby-plugin-next-seo';

export default () => (
  <>
    <h1>Logo JSON-LD</h1>
    <LogoJsonLd logo='http://www.your-site.com/images/logo.jpg' url='http://www.your-site.com' />
  </>
);