quidipo/views/index.phtml

41 lines
1.2 KiB
PHTML
Raw Normal View History

2023-09-09 22:07:49 +02:00
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title><?=$title?></title>
<link href="css/portfolio.css" rel="stylesheet" title="Portfolio" type="text/css">
</head>
<body>
<header>
<h1><a href="<?=$url?>"><?=$title?></a></h1>
</header>
<main>
<?php foreach ($galleries as $gallery): ?>
<h2><?=$gallery->label?></h2>
<ul class="gallery">
<?php foreach ($gallery->images as $image): ?>
<li>
<a class="thumbnail" href="<?=$image->full?>">
<figure>
<img src="<?=$image->thumbnail?>" alt="<?=$image->alt?>" data-width="<?=$image->width?>" data-height="<?=$image->height?>">
<figcaption><?=$image->title?></figcaption>
</figure>
</a>
</li>
<?php endforeach ?>
</ul>
<?php endforeach ?>
</main>
<aside>
<ul class="links">
<?php foreach ($links as $link): ?>
<li class="icon">
<a class="icon <?=$link->id?>" href="<?=$link->url?>"<?=$link->self ? " rel=\"me\"" : ""?>><?=$link->label?></a>
</li>
<?php endforeach ?>
</ul>
</aside>
<footer><p><?=$footer?></p></footer>
</body>
</html>