diff --git a/layouts/partials/paige/metas.html b/layouts/partials/paige/metas.html index 26713d82..c0cbcfd4 100644 --- a/layouts/partials/paige/metas.html +++ b/layouts/partials/paige/metas.html @@ -1,8 +1,16 @@ {{ $page := . }} +{{ $author := slice }} +{{ $authors := partial "paige/func-authors.html" $page }} {{ $description := $page.Description | markdownify | plainify | htmlUnescape }} {{ $keywords := slice }} +{{ range $authors }} + {{ $author = $author | append (.Title | markdownify | plainify | htmlUnescape) }} +{{ end }} + +{{ $author = delimit $author ", " }} + {{ with $page.Keywords }} {{ $keywords = . }} {{ end }} @@ -27,14 +35,8 @@ -{{ with partial "paige/func-authors.html" $page }} - {{ $authors := slice }} - - {{ range . }} - {{ $authors = $authors | append (.Title | markdownify | plainify | htmlUnescape) }} - {{ end }} - - +{{ with $author }} + {{ end }} {{ with $description }}