aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2024-04-06 19:42:00 +0200
committerAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2024-04-06 19:42:00 +0200
commit56faea4956d0dbf05ad75bbafca81aa90d09771d (patch)
tree9e6eea64635685175fe4507b190fb9e3c02e7b82 /layouts/partials
parent9ec92dfef9c73992e849279c62ced2f41a7e43b9 (diff)
Add ontology
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/ld/person.html45
-rw-r--r--layouts/partials/ld/post.html26
-rw-r--r--layouts/partials/ld/website.html8
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