Given a site where author pages are setup using an author = "authors"
taxonomy, how can we iterate over the author pages and get their content? In this context, an author page should be a taxonomy _index.md
list page where taxonomyTerm
is author
.
Currently, Iβm thinking along the lines of:
{{ range (where (where .Site.Pages "Kind" "taxonomy") "taxonomyTerm" "author") }}
but that gives the error:
Error calling where: taxonomyTerm isn't a field of struct type *hugolib.Page
Note that I also attempted to use .Site.Taxonomies.author
, however, that doesnβt appear to have the authorβs page related to it, only the children (posts etc.).
Any ideas? Thanks!