update to kirby 4.8
This commit is contained in:
commit
7d7df341d1
636 changed files with 139949 additions and 0 deletions
24
site/templates/home.php
Normal file
24
site/templates/home.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php snippet('header') ?>
|
||||
<div id="first-level" class="layer current home">
|
||||
<a href="<?= $site->homePage()->url() ?>" class="layer-btn unvisible internal-link" title="retourner à l'accueil" data-size="Accueil">Accueil</a>
|
||||
<div class="content-background">
|
||||
<h2 id="logo">decarb.one</h2>
|
||||
<?php foreach ($site->body()->toLayouts() as $layout): ?>
|
||||
<section class="row" id="<?= $layout->id() ?>">
|
||||
<?php foreach ($layout->columns() as $column): ?>
|
||||
<div class="column" style="--span:<?= $column->span() ?>">
|
||||
<div class="blocks">
|
||||
<?php foreach($column->blocks() as $block): ?>
|
||||
<?= $block ?>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</section>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="second-level" class="layer out-screen">
|
||||
</div>
|
||||
<div id="third-level" class="layer out-screen"></div>
|
||||
<?php snippet('footer') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue