init
This commit is contained in:
9
site/snippets/layouts.php
Normal file
9
site/snippets/layouts.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php foreach ($layouts as $layout): ?>
|
||||
<section class="grid container <?= $layout->columns()->count() == 2 ? "two" : "" ?> <?= bg($layout->background(), $layout->grid()) ?>">
|
||||
<?php foreach ($layout->columns() as $column): ?>
|
||||
<div class="column" style="--span:<?= $column->span() ?>">
|
||||
<?= $column->blocks() ?>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</section>
|
||||
<?php endforeach ?>
|
||||
Reference in New Issue
Block a user