Commit 10d3d921 authored by Michael Danielczok's avatar Michael Danielczok

fix: Content brick shows now frontend title. HTML structure reworked.

parent 4e5542b3
<div {$classesStr}>
{if $this->getAttribute('showTitle') && $this->getAttribute('title')}
<header>
<h2>{$this->getAttribute('title')}</h2>
{if $this->getAttribute('showTitle') && $this->getAttribute('frontendTitle')}
<header class="control-header">
<h1>{$this->getAttribute('frontendTitle')}</h1>
</header>
{/if}
{$this->getAttribute('content')}
{if $this->getAttribute('content') != ""}
<div class="control-content">
{$this->getAttribute('content')}
</div>
{/if}
</div>
\ No newline at end of file
Markdown is supported
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