aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2024-04-16 21:02:19 +0200
committerAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2024-04-16 21:02:19 +0200
commit7b86f6791f359bb50dc055d6c5736b98f70c3855 (patch)
tree7d748fc8073725500476aae37f723ad5b3fefcd2 /layouts/partials
parent85e4cde7dd694759a7c082c0f6cbb9891f83fb87 (diff)
Fix schema
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/ld/post.html4
-rw-r--r--layouts/partials/ld/website.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/ld/post.html b/layouts/partials/ld/post.html
index c4d0ae4..0afa7ad 100644
--- a/layouts/partials/ld/post.html
+++ b/layouts/partials/ld/post.html
@@ -4,9 +4,9 @@
"@type": "BlogPosting",
"@id": {{ printf "%s" .Page.Permalink }},
"url": {{ printf "%s" .Page.Permalink }},
- "headline": {{ printf "%s" .Title | safeJS }},
+ "headline": "{{ printf "%s" .Title | safeJS }}",
{{- with .Params.summary -}}
- "description": {{ printf "%s" . | safeJS }},
+ "description": "{{ printf "%s" . | safeJS }}",
{{- end }}
{{ with .Params.date -}}
"datePublished": {{ time.Format "2006-01-02T15:04:05-07:00" . }},
diff --git a/layouts/partials/ld/website.html b/layouts/partials/ld/website.html
index 2abab83..421250f 100644
--- a/layouts/partials/ld/website.html
+++ b/layouts/partials/ld/website.html
@@ -3,6 +3,6 @@
"@context": "http://schema.org",
"@type": "WebSite",
"id": "https://www.costas.dev/",
- "url": "https://www.costas.dev/",
+ "url": "https://www.costas.dev/"
}
</script> \ No newline at end of file