title: How to echo within echo (Twig)
body: <p>I have a problem using Twig in Pyrocms. I am trying to echo a variable within a shorthand if statement in Twig.</p>
  
  <pre><code>style="background-image: {{ (not link.bgcolor is empty ? 'linear-gradient(transparent, {{link.bgcolor}}),' : '')|raw }} url('{{link.image.url()}}');"
  </code></pre>
  
  <p>The statement is correct, but the displayed value actually is <code>linear-gradient(transparent, {{link.bgcolor}}),</code> the <code>{{link.bgcolor}}</code> is not getting parsed by Twig. How can I use <code>{{}}</code> tags within another <code>{{}}</code> tags?</p>