Skip to content

Instantly share code, notes, and snippets.

@dannanelli
Last active July 25, 2023 20:29
Show Gist options
  • Save dannanelli/c27756788f341713f2d8b58b157fb1aa to your computer and use it in GitHub Desktop.
Save dannanelli/c27756788f341713f2d8b58b157fb1aa to your computer and use it in GitHub Desktop.
Article Schema Example Template for Local SEO
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "{{HEADLINE}}",
"alternativeHeadline": "{{ALTERNATE HEADLINE}}",
"image": "{{IMAGE URL}}",
"award": "{{AWARD}}",
"editor": "{{EDITOR NAME}}",
"genre": "{{GENRE}}",
"wordcount": "{{WORD COUNT}}",
"publisher": {
"@type": "Organization",
"name": "{{ORGANIZATION NAME}}",
"logo": {
"@type": "ImageObject",
"url": "{{LOGO URL}}"
}
},
"url": "{{URL}}",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://google.com/article"
},
"datePublished": "{{YYYY-MM-DD}}",
"dateCreated": "{{YYYY-MM-DD}}",
"dateModified": "{{YYYY-MM-DD}}",
"description": "{{ARTICLE DESCRIPTION}}",
"articleBody": "{{ARTICLE BODY}}",
"author": {
"@type": "Person",
"alternateName": [
"{{AKA NAME #1}}",
"{{AKA NAME #2}}"
],
"familyName": "{{LAST NAME}}",
"givenName": "{{FIRST NAME}}",
"worksFor": "{{BUSINESS NAME}}",
"jobTitle": "{{JOB TITLE}}",
"colleague": [
"{{COLLEAGUE URL #1}}",
"{{COLLEAGUE URL #2}}"
],
"gender": "{{GENDER}}",
"nationality": "{{NATIONALITY}}",
"sameAs": [
"{{URL #1}}",
"{{URL #2}}"
]
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment