Initial commit
This commit is contained in:
commit
388079e6bb
1108 changed files with 330121 additions and 0 deletions
23
site/templates/home.php
Normal file
23
site/templates/home.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php snippet('head') ?>
|
||||
<?php snippet('header') ?>
|
||||
|
||||
<?php $sizes = "(min-width: 1200px) 25vw,
|
||||
(min-width: 900px) 33vw,
|
||||
(min-width: 600px) 50vw,
|
||||
100vw";
|
||||
?>
|
||||
|
||||
<main class="home" id="fade">
|
||||
<section>
|
||||
|
||||
<?php foreach($site->index()->filterBy('intendedTemplate', 'chapitre') as $chapitre):?>
|
||||
<article>
|
||||
<h2><?= $chapitre->title()->html() ?></h2>
|
||||
<?= $chapitre->text()->toBlocks() ?>
|
||||
</article>
|
||||
<?php endforeach;?>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<?php snippet('footer');?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue