From e05675878d5269fa5d386b008901c04b2ed9f75e Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 8 Feb 2025 22:27:14 -0800 Subject: [PATCH] Rename audios to audio --- layouts/partials/paige/schema.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/paige/schema.html b/layouts/partials/paige/schema.html index 16999db3..aa2b8bdc 100644 --- a/layouts/partials/paige/schema.html +++ b/layouts/partials/paige/schema.html @@ -13,7 +13,7 @@ {{ end }} {{ if $auto }} - {{ $audios := $page.Params.audio | default slice}} + {{ $audio := $page.Params.audio | default slice}} {{ $authors := partial "paige/func-authors.html" $page }} {{ $images := $page.Params.images | default slice }} {{ $keywords := sort (union (union $page.Keywords $page.Params.tags) $page.Params.categories) }} @@ -37,10 +37,10 @@ {{ $schema.Set "articleSection" . }} {{ end }} - {{ with $audios }} + {{ with $audio }} {{ $objects := slice }} - {{ range $audios }} + {{ range $audio }} {{ $objects = $objects | append (dict "@type" "AudioObject" "url" .) }} {{ end }}