">&lt;</span><span class="endtagname tag">/if</span><span class="tag">&gt;</span></div></pre><p>Or the equivalent in template:</p>
<pre class="moya-console format-moyatemplate"><a name="line1"></a><div class="line line-1"></span><span class="templatetag">{%&nbsp;if&nbsp;.user&nbsp;%}</span></div><a name="line2"></a><div class="line line-2"></span><span class="tag">&lt;</span><span class="tag tagname">h1</span><span class="tag">&gt;</span>Welcome,&nbsp;</span><span class="sub">${.user.username}</span>!</span