Last active
October 11, 2021 09:53
-
-
Save inetbiz/83025ca560e72bc145d63f11b194c9af to your computer and use it in GitHub Desktop.
Article JSON-LD aggregated in Jekyll Front Matter, data files, YAML, etc.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "https://schema.org", | |
"@type": "Article", | |
"@id": "#article", | |
"url": "{{ site.url }}{{ page.url }}", | |
"name": "{{ page.title }}", | |
"headline": "{{ page.title }}", | |
"genre": "{{ page.genre }}", | |
"keywords": {{ page.tags |replace: "-", " " | join: ", | capitalize_all | jsonify }}, | |
"description": "{{ page.excerpt | strip_newlines | strip | strip_html }}", | |
"articleSection": "{{ page.categories | join: ' '| replace: "-", " " | capitalize_all }}", | |
"wordCount": "{{ page.content | number_of_words }}", | |
"datePublished": "{{ page.date | date_to_xmlschema }}", | |
"dateModified": "{{ page.last_modified_at | default: page.date }}", | |
"isBasedOn": {{ page.isbasedon | jsonify }}, | |
"audience": { | |
"@type": "[BusinessAudience, Occupation]", | |
"name": "{{ page.business_occupation.name }}", | |
"audienceType": "{{ page.business_occupation.name }}", | |
"occupationalCategory": { | |
"@type": "CategoryCode", | |
"inCodeSet": { | |
"@type": "CategoryCodeSet", | |
"name": "O*Net-SOC", | |
"dateModified": "{{ page.business_occupation.date }}", | |
"url": "https://www.onetonline.org/" | |
}, | |
"codeValue": "{{ page.business_occupation.code }}", | |
"name": "{{ page.business_occupation.name }}, | |
"url": "https://www.onetonline.org/link/summary/{{ page.business_occupation.code }}" | |
} | |
}, | |
"license": "http://creativecommons.org/licenses/by-sa/4.0/", | |
{% assign author = site.data.members[page.author] %}"author": { | |
"@type": "Person", | |
"@id": "{{ site.url }}/about.html#person", | |
"name": "{{ author.name }}", | |
"url": "{{ site.url }}/about.html#person" | |
}, | |
"image": { | |
"@type": "ImageObject", | |
"representativeOfPage": "true", | |
"width": { | |
"@type": "QuantitativeValue", | |
"value": "1200", | |
"unitCode": "E37" | |
}, | |
"height": { | |
"@type": "QuantitativeValue", | |
"value": "800", | |
"unitCode": "E37" | |
}, | |
"caption": "{{ page.title }}", | |
"contentUrl": "{{ site.url }}/assets/images/main/{{ page.featured_image }}", | |
"url": "{{ site.url }}/assets/images/main/{{ page.featured_image }}", | |
"license": "http://creativecommons.org/licenses/by-nc-nd/4.0/", | |
"acquireLicensePage": "{{ site.url }}/terms.html" | |
}, | |
{% include publisher.html %} | |
{% include mainentity.html %} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment