Oli1
February 27, 2019, 8:47am
1
Good morning,
is there any way to limit the allowed templates with a query? As I know this was also discussed in K2. Example:
all_pages:
headline: Alle Seiten
type: pages
status: all
text: "{{ page.num }} - {{ page.title }}"
image: false
templates: site.index.filterBy("template","!*=","block-")
texnixe
February 27, 2019, 9:19am
2
The template option only allows a list of templates, not a query.
Oli1
February 27, 2019, 9:26am
3
Damn, also not a option for a API or similar? I have more then 50 blueprints currently and everytime they change when I add new features, they must be extended manually?
texnixe
February 27, 2019, 9:43am
4
No, no queries in sections, Iβm afraid. Not even a way to extend the options somehow. The only solution would be custom section. If you donβt the option to add pages through this section, check out @rasteiner βs plugin: GitHub - rasteiner/k3-pagesdisplay-section: K3 plugin: display any page list in a section. Any parent, many parents, filtered, don't care.