Get a full list of authors from within a template
Opened this issue · 2 comments
kbaley commented
Is it possible to retrieve a complete list of authors within a template? For example, to list the authors on a site with links to their individual author pages.
bob983 commented
Hi @kbaley, let me have a look at it. It think it should be possible to fill a variable with all authors. Constructing an URL is easy, because it's just author/$author_id/
noraj commented
We need to add author/
in pagesArray
with a layout to authors
, so a theme author can add a authors layout where it iterates through all authors to generate the index.
Else one need to create this file in the source folder author/index.md
with content:
---
title: Authors
layout: "authors"
---