Rename audios to audio
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
Reference in New Issue
Block a user