Commit d76a64ee authored by Nigel McNie's avatar Nigel McNie
Browse files

Only bother outputting the <h4> with the header if there is a title set when...

Only bother outputting the <h4> with the header if there is a title set when viewing a block. This allows people to set no title for their block if they like.
parent 3bc854aa
<div class="blockinstance" id="blockinstance_{$id}"> <div class="blockinstance" id="blockinstance_{$id}">
<div class="blockinstance-header"> {if $title}<div class="blockinstance-header">
<h4>{$title | escape}</h4> <h4>{$title | escape}</h4>
</div> </div>{/if}
<div class="blockinstance-content"> <div class="blockinstance-content">
{$content} {$content}
</div> </div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment