Following this discussion from the forum:
https://forum.getkirby.com/t/ability-to-exclude-templates-from-page-section
We will be able to make:
templates:
- !home
- !error
If the user both chooses and exclude, unnecessary queries will call. It will always be necessary to call all templates/blueprints to check the templates that the user excludes.
For ex:
templates:
- default
- !home
- !error
It may be better to use a separate prop like excludedTemplates
or something like that. For ex: templates
prop will ignore if excludedTemplates
defined.
I keep running into this issue and I’m never happy with the workarounds. Big upvote…
@Nico What would it be like if it simply supported the query language?