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] support root dir for taxonomy output #1820

Open
GlenDC opened this issue Apr 5, 2022 · 3 comments
Open

[Feature Request] support root dir for taxonomy output #1820

GlenDC opened this issue Apr 5, 2022 · 3 comments

Comments

@GlenDC
Copy link

GlenDC commented Apr 5, 2022

Version: zola 0.15.3

I use taxonomy only for the blog section of my zola-generated website, which is found under /blog.
Currently I started to use taxonomis but sadly the generated output paths are generated as /<taxonomy> rather than /blog/<taxonomy>.

I don't think this is currently possible. It's not really a blocker or harmfull, but at the same time it doesn't really make sense to have these taxonomies as a root page if they only are used for one section of my website (the blog).

I do not mind to contribute in code, but I would require a bit of help and introduction to the codebase.

@Keats
Copy link
Collaborator

Keats commented Apr 6, 2022

Let's see if other people want that.

@GlenDC
Copy link
Author

GlenDC commented Apr 6, 2022

After a night of sleep I decided for an intermediate solution I now declare these taxonomies as blog_authors instead of authors (as an example). This way I get a slug of /blog-authors, so at least the connection with /blog is already more clear :)

@TomHall2020
Copy link

I could find this useful for organising collections of articles in a site that has a blog as well, where the articles might be linked together in collection after the fact rather than being a planned series in its own section which is I belive the currently recommended way of doing it.

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

No branches or pull requests

3 participants