Move the gallery ID to the gallery title instead of the gallery list

main
Nicolas Ong 2025-07-20 22:04:06 +02:00
parent 1fcbc35d81
commit 92976347ca
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@
</nav>
<main>
<?php foreach ($galleries as $gallery): ?>
<h2><?=$gallery->label?></h2>
<ul id="<?=$gallery->id?>" class="gallery">
<h2 id="<?=$gallery->id?>"><?=$gallery->label?></h2>
<ul class="gallery">
<?php foreach ($gallery->images as $image): ?>
<li id="<?=$image->id?>">
<a class="thumbnail" href="<?=$image->full?>">