Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: authors can be a predefined taxonomy #2648

Open
ceyusa opened this issue Sep 22, 2024 · 2 comments
Open

Feature request: authors can be a predefined taxonomy #2648

ceyusa opened this issue Sep 22, 2024 · 2 comments

Comments

@ceyusa
Copy link

ceyusa commented Sep 22, 2024

Bug Report

Environment

Zola version: 0.19.2

Expected Behavior

Since #2092 it's possible to set authors per page, something that historically has been done through taxonomies. This new page frontmatter, if I understand correctly, might lead to duplicated data per page.

I would like to propose a predefined taxonomy, authors if there are pages with this frontmatter metadata defined.

Current Behavior

It's impossible (afaiu) to create a list and single of authors frontmatter metadata.

Step to reproduce

Try to create a list of authors.

@ceyusa ceyusa changed the title authors can be a predefined taxonomy Feature request: authors can be a predefined taxonomy Sep 22, 2024
@Keats
Copy link
Collaborator

Keats commented Sep 23, 2024

authors was added for the feeds. It's problematic to add it as a taxonomy since it might not be the wanted name and it breaks symmetry with the other taxonomies. There could be some duplication yes depending on how it's set up.

@ceyusa
Copy link
Author

ceyusa commented Sep 23, 2024

Thanks @Keats

I understand the rejection of creating a virtual taxonomy, still I wonder if it's possible other API to grab the list of authors and the posts written by an author. Perhaps a couple of templates, such as feed-author.html and feed-authors.html, if present, offer them. I don't know, just throwing ideas.

Anyway, if what I'm saying is nonsense, please close the issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants