From 7b86f6791f359bb50dc055d6c5736b98f70c3855 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> Date: Tue, 16 Apr 2024 21:02:19 +0200 Subject: Fix schema --- layouts/partials/ld/post.html | 4 ++-- layouts/partials/ld/website.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/partials/ld') 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/" } \ No newline at end of file -- cgit v1.3