Revert "section par main"

This reverts commit 271ee347a8.
This commit is contained in:
Fred Tempez 2024-04-22 14:19:47 +02:00
parent 167ad06dde
commit 1322cb4eb0

View File

@ -57,7 +57,7 @@ class layout extends common
*/ */
public function showMain() public function showMain()
{ {
echo '<main>'; echo '<main><section>';
// Récupérer la config de la page courante // Récupérer la config de la page courante
$blocks = is_null($this->getData(['page', $this->getUrl(0), 'block'])) ? '12' : $this->getData(['page', $this->getUrl(0), 'block']); $blocks = is_null($this->getData(['page', $this->getUrl(0), 'block'])) ? '12' : $this->getData(['page', $this->getUrl(0), 'block']);
$blocks = explode('-', $blocks); $blocks = explode('-', $blocks);
@ -151,7 +151,7 @@ class layout extends common
} }
echo '</div>'; echo '</div>';
} }
echo '</main>'; echo '</section></main>';
} }
/** /**