Skip to content

Instantly share code, notes, and snippets.

@daviddarnes
Last active May 19, 2016 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daviddarnes/5e199a45295a31c4785626427d4af80a to your computer and use it in GitHub Desktop.
Save daviddarnes/5e199a45295a31c4785626427d4af80a to your computer and use it in GitHub Desktop.
Revised Jekyll SEO Tag JSON LD structure
<!-- Proposed Index json output -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "Dave’s Blog",
"headline": "Dave’s Blog",
"image": "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=600",
"description": "Articles, tutorials and other ramblings",
"publisher": {
"@type": "Organization",
"name": "Dave's Blog",
"logo": {
"@type": "ImageObject",
"url": "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=300",
"name": "Dave's Blog",
"height": "300",
"width": "300"
}
},
"url": "https://david.darn.es/"
}
</script>
<!-- Current Index json output -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "Dave’s Blog",
"headline": "Dave’s Blog",
"image": "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=600",
"description": "Articles, tutorials and other ramblings",
"logo": "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=300",
"url": "https://david.darn.es/"
}
</script>
<!-- Proposed Page json output -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebPage",
"headline": "About",
"description": "Something about myself",
"publisher": {
"@type": "Organization",
"name": "Dave's Blog",
"logo": {
"@type": "ImageObject",
"url": "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=300",
"name": "Dave's Blog",
"height": "300",
"width": "300"
}
},
"url": "https://david.darn.es/about/"
}
</script>
<!-- Current Page json output -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebPage",
"headline": "About",
"description": "Something about myself",
"logo": "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=300",
"url": "https://david.darn.es/about/"
}
</script>
<!-- Proposed Post json output -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": "Jekyll Conf Lightning Talk",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://david.darn.es/2016/05/17/jekyll-conf-lightning-talk/"
},
"image": {
"@type": "ImageObject",
"url": "https://david.darn.es/images/jekyll-conf/thumbnail.jpg",
"name": "Jekyll Conf Lightning Talk",
"height": "350",
"width": "640"
},
"datePublished": "2016-05-17T00:00:00+00:00",
"dateModified": "2016-05-17T00:00:00+00:00",
"description": "Recently I was asked by CloudCannon to record a lightning talk for Jekyll Conf. It was a great opportunity to contribute to the Jekyll community. You can watch all the talks from the day on YouTube.",
"url": "https://david.darn.es/2016/05/17/jekyll-conf-lightning-talk/",
"publisher": {
"@type": "Organization",
"name": "Dave's Blog",
"logo": {
"@type": "ImageObject",
"url": "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=300",
"name": "Dave's Blog",
"height": "300",
"width": "300"
}
},
"author": {
"@type": "Person",
"name": "David Darnes"
}
}
</script>
<!-- Current Post json output -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"headline": "Jekyll Conf Lightning Talk",
"image": "https://david.darn.es/images/jekyll-conf/thumbnail.jpg",
"datePublished": "2016-05-17T00:00:00+00:00",
"description": "Recently I was asked by CloudCannon to record a lightning talk for Jekyll Conf. It was a great opportunity to contribute to the Jekyll community. You can watch all the talks from the day on YouTube.",
"logo": "https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=300",
"url": "https://david.darn.es/2016/05/17/jekyll-conf-lightning-talk/"
}
</script>
@daviddarnes
Copy link
Author

daviddarnes commented May 18, 2016

Copy and paste at the following url to test: https://search.google.com/structured-data/testing-tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment