My inline style is as follows:
style="background-image: url({{ asset('bundles/testblog/images/id.jpg') }});"
part of the id url should vary depending on the varibale. How can I do this inside an asset.
I tried:
style="background-image: url({{ asset('bundles/testblog/images/'{{variable}}'.jpg') }});"
But to no avail.
html php symfony twig
whiteletters in blankpapers
source share