-
Notifications
You must be signed in to change notification settings - Fork 14
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
How to set default values for Taxonomies ? #15
Comments
Same question here! How to add a default category to the default route ? |
I"m not sure how this would work? I mean every page in your site gets a default tag? how do you determine what page gets what? Sounds like the job of a custom plugin. |
The plugin I use is the default Taxonomy list by Team Grav.
The tags are correctly displayed in "News" or "Features" page and they belong to the correct category, but clicking on any them I have an error 404 - page not found. This is because in the default route of the plugin I can't write: /blog/news or /blog/features. If I write ONE of this routes to categories the links are correctly displayed for THAT category, but there is nothing for the other. I suppose is a problem of base_url .
but of course isn't working, because the base url is not set in the default route of the plugin. I also tried with base url set to absolute in configuration and this messed up all the site (luckily a local one!!) |
Ok, found the solution at least for taxonomy list.
and this solved the issue! |
Let's suppose i need to add a default value for "tag" or "category" ( or "author" ).
How am i supposed to do that ?
The text was updated successfully, but these errors were encountered: