only render subtitle when there is a url

master
Brian Stoner 2016-01-14 11:30:35 -05:00
parent 25e1df7d88
commit 812b85f96e
1 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,6 @@
<h4 class="c-base__sub">
{{{favicon 'default'}}}
<a class="c-base__link tx--14" href="{{subtitle_url}}">{{subtitle_text}}</a>
</h4>
{{#if subtitle_url}}
<h4 class="c-base__sub">
{{{favicon 'default'}}}
<a class="c-base__link tx--14" href="{{subtitle_url}}">{{subtitle_text}}</a>
</h4>
{{/if}}