From 99f387fbfbbab0f68145ae059bad9666e91527bb Mon Sep 17 00:00:00 2001 From: Vaishnav88sk Date: Thu, 9 Apr 2026 13:46:46 +0530 Subject: [PATCH] feat: add JSON-LD structured data for blog posts Signed-off-by: Vaishnav88sk --- layouts/_default/single.jsonld | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 layouts/_default/single.jsonld diff --git a/layouts/_default/single.jsonld b/layouts/_default/single.jsonld new file mode 100644 index 00000000..55c26d6a --- /dev/null +++ b/layouts/_default/single.jsonld @@ -0,0 +1,48 @@ +{{- .Scratch.Set "type" "article" -}} +{{- if eq .Type "blog" -}} + {{- .Scratch.Set "type" "blogPosting" -}} +{{- else if eq .Section "documentation" -}} + {{- .Scratch.Set "type" "techArticle" -}} +{{- end -}} + +