title: A variable inside an asset declaration in Twig
body: <p>My inline style looks like:</p>
  
  <pre><code>style="background-image: url({{ asset('bundles/testblog/images/id.jpg') }});"
  </code></pre>
  
  <p>the part <code>id</code> of the url must change depending on a varibale. How can I make this happen inside the asset.</p>
  
  <p>I tried : </p>
  
  <pre><code>style="background-image: url({{ asset('bundles/testblog/images/'{{variable}}'.jpg') }});" 
  </code></pre>
  
  <p>But to no avail. </p>