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

Add option to have a prefix for a taxonomy #2706

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

Mandragorian
Copy link

As seen in #2449, it might be nice to not serve the taxonomies in the top level directory, but in a subfolder. This commit adds an option "prefix" to the taxonomy definition.

The taxonomy then would be served in //<taxonomy_name> instead of /.

IMPORTANT: Please do not create a Pull Request adding a new feature without discussing it first.

The place to discuss new features is the forum: https://zola.discourse.group/
If you want to add a new feature, please open a thread there first in the feature requests section.

Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code changes

(Delete or ignore this section for documentation changes)

  • Are you doing the PR on the next branch?

If the change is a new feature or adding to/changing an existing one:

  • Have you created/updated the relevant documentation page(s)?

I didn't create or update documentation since I am not sure if this PR is wanted, so I wanted to quickly make a PR to see what is possible. If we decide that this is a wanted change I will spend the time to update the documentation.

As seen in getzola#2449, it might be nice to not serve the taxonomies in the
top level directory, but in a subfolder. This commit adds an option
"prefix" to the taxonomy definition.

The taxonomy then would be served in /<prefix>/<taxonomy_name> instead of
/<taxonomy>.
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

Successfully merging this pull request may close these issues.

1 participant