diff options
Diffstat (limited to 'layouts/partials/ld')
| -rw-r--r-- | layouts/partials/ld/person.html | 45 | ||||
| -rw-r--r-- | layouts/partials/ld/post.html | 26 | ||||
| -rw-r--r-- | layouts/partials/ld/website.html | 8 |
3 files changed, 79 insertions, 0 deletions
diff --git a/layouts/partials/ld/person.html b/layouts/partials/ld/person.html new file mode 100644 index 0000000..f329ae7 --- /dev/null +++ b/layouts/partials/ld/person.html @@ -0,0 +1,45 @@ +<script type="application/ld+json"> +{ + "@context": "http://schema.org", + "@type": "Person", + "@id": "https://costas.dev/me", + "name": "Ariel Costas Guerrero", + "givenName": "Ariel", + "familyName": "Costas Guerrero", + "url": "https://costas.dev/me", + "nationality": "ES", + "sameAs": [ + "https://github.com/arielcostas", + "https://linkedin.com/in/ariel-costas", + "https://masto.es/@arielcg" + ], + "hasCertification": [ + { + "@type": "Certification", + "name": "Microsoft Certified: Azure DevOps Engineer Expert", + "url": "https://learn.microsoft.com/gl-es/users/ariel-costas/transcript/vn32b8j6m2zwyn7", + "validFrom": "2023-09-15", + "expires": "2024-09-16", + "issuedBy": { + "@context": "http://schema.org", + "@type": "Organization", + "name": "Microsoft Corporation", + "url": "https://microsoft.com" + } + }, + { + "@type": "Certification", + "name": "Microsoft Certified: Azure Developer Associate", + "url": "https://learn.microsoft.com/gl-es/users/ariel-costas/transcript/vn32b8j6m2zwyn7", + "validFrom": "2023-09-15", + "expires": "2024-09-16", + "issuedBy": { + "@context": "http://schema.org", + "@type": "Organization", + "name": "Microsoft Corporation", + "url": "https://microsoft.com" + } + } + ] +} +</script>
\ No newline at end of file diff --git a/layouts/partials/ld/post.html b/layouts/partials/ld/post.html new file mode 100644 index 0000000..c4d0ae4 --- /dev/null +++ b/layouts/partials/ld/post.html @@ -0,0 +1,26 @@ +<script type="application/ld+json"> + { + "@context": "http://schema.org", + "@type": "BlogPosting", + "@id": {{ printf "%s" .Page.Permalink }}, + "url": {{ printf "%s" .Page.Permalink }}, + "headline": {{ printf "%s" .Title | safeJS }}, + {{- with .Params.summary -}} + "description": {{ printf "%s" . | safeJS }}, + {{- end }} + {{ with .Params.date -}} + "datePublished": {{ time.Format "2006-01-02T15:04:05-07:00" . }}, + {{- end }} + "author": { + "@type": "Person", + "url": "https://www.costas.dev/me", + "name": "Ariel Costas Guerrero" + }, + "creator": { + "@type": "Person", + "url": "https://www.costas.dev/me", + "name": "Ariel Costas Guerrero" + }, + "inLanguage": "{{ with .Params.lang }}{{ . }}{{ else }}es{{ end }}" + } +</script>
\ No newline at end of file diff --git a/layouts/partials/ld/website.html b/layouts/partials/ld/website.html new file mode 100644 index 0000000..2abab83 --- /dev/null +++ b/layouts/partials/ld/website.html @@ -0,0 +1,8 @@ +<script type="application/ld+json"> +{ + "@context": "http://schema.org", + "@type": "WebSite", + "id": "https://www.costas.dev/", + "url": "https://www.costas.dev/", +} +</script>
\ No newline at end of file |
