Skip to content

Instantly share code, notes, and snippets.

@imelgrat
Created February 15, 2019 01:21
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 imelgrat/7a0f77e147495c13efec46bd4083cd68 to your computer and use it in GitHub Desktop.
Save imelgrat/7a0f77e147495c13efec46bd4083cd68 to your computer and use it in GitHub Desktop.
Simple example showing how to tag a blog post using JSON-LD (JSON for Linked Data), the newest structured format and the one Google recommends for its search engine.
<script type="application/ld+json">{
"@context": "http://schema.org",
"@type": "Article",
"author": {
"@type": "Person",
"name": "Ivan Melgrati"
},
"datePublished": "2018-02-01",
"description": "This article is about structured data"
}</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment