Good afternoon gamers,
got a Contao 5 installation here and love some of the changes.
But templates are a bit confusing now, as I am struggling to get them to work.
What I was trying to do:
Make a template version for the image content element that converts SVG-files into inline code (so it can be dynamically adressed via CSS).
For that I have created .html5 templates. When trying to select the template for the content element, it wasn't showing up in the list, so I created two twig versions to see if they show up on template selection (the content of the templates is identical so far, unchanged from the original).
template_folder.jpg
Here a screenshot of my template selection on the image content element:
template_selection.jpg
I cannot figure out how to make use of my custom templates or how to make them show up when trying to select one.
Bookmarks