feat(main: Added default block classes
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{if !empty($block.link)}<a href="{$block.link|escape:'html':'UTF-8'}">{/if}
|
||||
<p class="h1 usp__name text-center">
|
||||
<span>{$block.title|escape:'html':'UTF-8'}</span>
|
||||
</p>
|
||||
{if !empty($block.description)}
|
||||
<p class="usp__description text-center">
|
||||
{$block.description|escape:'html':'UTF-8'|nl2br}
|
||||
</p>
|
||||
{/if}
|
||||
{if !empty($block.link)}</a>{/if}
|
||||
@@ -0,0 +1,11 @@
|
||||
{if !empty($block.link)}<a href="{$block.link|escape:'html':'UTF-8'}">{/if}
|
||||
<small class="uppercase-mono-red">/{$iteration|string_format:"%02d"}</small>
|
||||
<p class="h3 font-default usp__name mt2 mt-lg-3">
|
||||
<span>{$block.title|escape:'html':'UTF-8'}</span>
|
||||
</p>
|
||||
{if !empty($block.description)}
|
||||
<p class="usp__description">
|
||||
{$block.description|escape:'html':'UTF-8'|nl2br}
|
||||
</p>
|
||||
{/if}
|
||||
{if !empty($block.link)}</a>{/if}
|
||||
Reference in New Issue
Block a user