Skip to content

Instantly share code, notes, and snippets.

@warnakey
Last active April 15, 2019 17:24
Show Gist options
  • Save warnakey/2643c2501b2753bd8ba932f6a0bcf1d9 to your computer and use it in GitHub Desktop.
Save warnakey/2643c2501b2753bd8ba932f6a0bcf1d9 to your computer and use it in GitHub Desktop.
BlogPosting Schema Example in JSON-LD
<!-- The following schema is only for individual blog entries -->
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"headline" : "Newest Attorney Joins Our Team",
"author" : "Example Law Firm",
"description": "Our newest lawyer has joined the team. Learn more about our newest attorney here.",
"url": "https://www.examplelaw.com/blog/newest-attorney/",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://www.examplelaw.com/blog/newest-attorney/"
},
"datePublished" : "2018-11-21",
"dateModified" : "2019-02-27",
"publisher" : {
"@type" : "Organization",
"name" : "Example Law Firm",
"logo" : {
"@type" : "ImageObject",
"url" : "https://www.examplelaw.com/wp-content/themes/examplelaw/assets/logo.png"
}
},
"image" : {
"@type" : "ImageObject",
"url" : "https://www.examplelaw.com/wp-content/themes/examplelaw/assets/featured-image.png"
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment