Skip to content

Instantly share code, notes, and snippets.

@roelofjan-elsinga
Last active May 6, 2020 07:34
Show Gist options
  • Save roelofjan-elsinga/17519a9199f025aac0078a8181429a18 to your computer and use it in GitHub Desktop.
Save roelofjan-elsinga/17519a9199f025aac0078a8181429a18 to your computer and use it in GitHub Desktop.
Structured data for an Article
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://google.com/article"
},
"dateModified": "2020-04-23T11:23:52+02:00",
"datePublished": "2020-04-22T09:33:32+02:00",
"headline": "Tutorial: How to set up and automatically deploy your website to GitHub Pages",
"author": {
"@type": "Person",
"name": "Roelof Jan Elsinga"
},
"publisher": {
"@type": "Organization",
"name": "Roelof Jan Elsinga",
"logo": {
"@type": "ImageObject",
"url": "https://roelofjanelsinga.com/images/icons/favicon-96x96.png"
}
},
"image": [
"https://roelofjanelsinga.com/images/articles/github-logo.png"
],
"description": "Setting up a static website, hosting it, and automatically deploying any changes doesn&#039;t have to be difficult. In this tutorial, I take you through the steps to"
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment