adjust sectioned style
This commit is contained in:
parent
fe7f31a112
commit
4aeeb3a4e4
5 changed files with 18 additions and 8 deletions
|
|
@ -5,12 +5,12 @@
|
|||
</section>
|
||||
|
||||
<?php foreach($page->children() as $sectionPage): ?>
|
||||
<section>
|
||||
<section id="<?= $sectionPage->slug() ?>">
|
||||
<?php if ($sectionPage->isIndexed() != 'false'): ?>
|
||||
<h2 class="h3"><?= $sectionPage->title() ?></h2>
|
||||
<?php endif ?>
|
||||
<?php foreach ($sectionPage->section()->toLayouts() as $layout): ?>
|
||||
<div class="grid" id="<?= $layout->id() ?>">
|
||||
<div class="section__row grid" id="<?= $layout->id() ?>">
|
||||
<?php foreach ($layout->columns() as $column): ?>
|
||||
<div class="grid__item" style="--span:<?= $column->span() ?>">
|
||||
<div class="blocks">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue