I'm trying to make a multiple author blog with Jekyll on Github pages. I added authors array field to _config.yml
and I can use that data on posts template.
_config.yml:
authors:
muratcorlu:
display_name: Murat Corlu
avatar: 2906955ae59c795275979d3782d7bfca
posts.html
{% assign author = site.authors[page.author] %}
<p>Author: {{ author.display_name }}</p>
Now I want to make an author archive page with a url like /authors/muratcorlu/
(i.e. listing posts authored by muratcorlu), but I don't know how can I get author name from url.