diff --git a/layouts/_default/list.html b/layouts/_default/list.html index d7a0fea..fcf6b57 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -23,14 +23,16 @@ - {{ range .Param "authors" }} - {{ $name := . }} - {{ with $.Site.GetPage (printf "/authors/%s" $name | urlize) }} + {{ with .Params.Author }} + {{ $key := . }} + {{ $author := index $.Site.Data.authors $key }} + + {{ with $.Site.GetPage (printf "/authors/%s" $author.name | urlize) }} - {{ $name }} + {{ $author.name }} - {{ end }} + {{ end }} {{ end }} {{ range .Param "categories" }}