In Limesurvey 3.8 I use image("./files/logo.png") to insert a image into a twig file.
That way the logo.png is going to be served to the user using the asset manager.
I'm trying to insert a <link rel="icon" sizes="[...]" href="/upload/theme/files/icon.png"> using a relative path.
So that the asset manager takes care of serving the icon.
Providing the relative path with respect to the files folder from my twig source location does not appear to work.
The workaround of using slice to cut the image source and inserting this into href does not work.
Slice is not allowed.
<link rel="icon" href="{{ image("./files/icon.png")|[9,18] }}">