{literal} {/literal}
{if $profile.photo!=""} {else} {/if}
{$profile.name}