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 }}