nt&lt;/td>&lt;/tr>
#end
#@d()Hello!#end</code></pre>

<h2>Integration with HTML</h2>
<pre><code>&lt;html>
  &lt;body>
    Hello $customer.Name!
    &lt;table>
    #foreach( $mud in $mudsOnSpecial )
      #if ( $customer.hasPurchased($mud) )
        &lt;tr>
          &lt;td>
            $flogger.getPromo( $mud )
          &lt;/td>
        &lt;/tr>
      #end
    #end
    &lt;/table>
  &lt;/body>
&lt;/html></code></pre>