1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-07-01 17:05:58 -04:00

include Person JSON-LD on every page

This commit is contained in:
2019-11-26 10:28:13 -05:00
parent 14828fd25c
commit e6b19c91fa
6 changed files with 51 additions and 60 deletions
+3 -1
View File
@@ -2,6 +2,7 @@
{
"@context": "http://schema.org",
"@type": "Person",
"@id": {{ printf "%s%s" .Site.BaseURL "#author" }},
"name": {{ .Site.Author.name }},
"url": {{ .Site.BaseURL }},
"description": {{ .Site.Params.description }},
@@ -16,8 +17,9 @@
{{ .Site.BaseURL }},
{{ printf "%s%s" "https://github.com/" .Site.Author.github }},
{{ printf "%s%s" "https://twitter.com/" .Site.Author.twitter }},
{{ printf "%s%s" "https://www.facebook.com/" .Site.Author.facebook }},
{{ printf "%s%s%s" "https://www.linkedin.com/in/" .Site.Author.linkedin "/" }},
{{ printf "%s%s" "https://www.facebook.com/" .Site.Author.facebook }},
{{ printf "%s%s%s" "https://www.instagram.com/" .Site.Author.instagram "/" }},
{{ printf "%s%s" "https://" .Site.Author.mastodon }}
]
}