Update list template structure to use semantic section element

This commit is contained in:
Ruben 2026-01-17 13:03:23 +01:00
parent 2cf9839152
commit 673ff9400d

View file

@ -4,7 +4,7 @@
</article>
<?php endif; ?>
<article>
<section>
<?php foreach ($items as $item): ?>
<article>
<?php if ($item['cover']): ?>
@ -26,10 +26,10 @@
<a href="<?= htmlspecialchars($item['url']) ?>" class="button">Les mer</a>
</article>
<?php endforeach; ?>
</article>
</section>
<style>
main > article {
main > section {
> article {
background-color: white;
padding: 0;