Rough architecture du site
This commit is contained in:
parent
bc87220397
commit
d4be54dfe2
12 changed files with 233 additions and 0 deletions
23
site/templates/home.php
Normal file
23
site/templates/home.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
<?php snippet('header') ?>
|
||||
|
||||
<body class="home">
|
||||
|
||||
<h1><?= $site->title() ?></h1>
|
||||
|
||||
<?php snippet('menu') ?>
|
||||
|
||||
|
||||
|
||||
<?php foreach ($page->images() as $image): ?>
|
||||
<img src="<?= $image->url() ?>">
|
||||
<?php endforeach; ?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
Loading…
Add table
Add a link
Reference in a new issue