Hello everyone,
currently i am creating a new theme using flex objects for displaying event dates. It works like a charm on normal pages.
Now i want to render a flex collection also in a modular page.
So like on normal pages i created a flex-objects.md file pointing to the right directory and layout.
Content of flex-objects.md:
[code]
title: 'Bevorstehende Veranstaltungen'
heading: 'Bevorstehende Veranstaltungen'
background_image: bg_start_termine.jpg
linkurl: /veranstaltungen
flex:
layout: small
directory: events
[/code]
But running the page i get following error:
ERROR: modular/flex-objects.html.twig template not found for page: /home/_naechstetermine
What did i miss? Is ist possible to render Flex Collections and Objects in modular pages?
Thanks for your help