1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-05-20 11:14:27 -04:00

switch everything from messy hCards/microdata to JSON-LD

This commit is contained in:
2019-11-22 20:24:38 -05:00
parent cf3e2ca5cf
commit 1ea90613c9
9 changed files with 68 additions and 29 deletions
+23
View File
@@ -0,0 +1,23 @@
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Person",
"name": {{ .Site.Author.name }},
"url": {{ .Site.BaseURL }},
"description": {{ .Site.Params.description }},
"jobTitle": {{ .Site.Author.jobtitle }},
"image": {
"@type": "ImageObject",
"url": {{ "me_lg.jpg" | absURL }},
"width": 920,
"height": 920
},
"sameAs": [
{{ .Site.BaseURL }},
"https://github.com/{{ .Site.Author.github }}",
"https://twitter.com/{{ .Site.Author.twitter }}",
"https://www.facebook.com/{{ .Site.Author.facebook }}",
"https://www.linkedin.com/in/{{ .Site.Author.linkedin }}/"
]
}
</script>