add links list style
This commit is contained in:
parent
100fd301ee
commit
0d60b9289f
4 changed files with 45 additions and 6 deletions
|
|
@ -1,5 +1,9 @@
|
|||
<ul>
|
||||
<?php foreach($block->toStructure() as $item): ?>
|
||||
<li></li>
|
||||
<ul class="links-list">
|
||||
<?php foreach($block->items()->toStructure() as $item): ?>
|
||||
<li>
|
||||
<p><?= $item->firstText() ?></p>
|
||||
<p><?= $item->secondText() ?></p>
|
||||
<?php snippet('a', ['url' => $item->link()->toUrl()]) ?>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
Loading…
Add table
Add a link
Reference in a new issue