13.2.01 supprime la balise section

This commit is contained in:
Fred Tempez 2024-04-21 15:55:11 +02:00
parent 8e91faf2d2
commit 9e656294a6

View File

@ -57,7 +57,7 @@ class layout extends common
*/
public function showMain()
{
echo '<main><section>';
echo '<main>';
// 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 = explode('-', $blocks);
@ -151,7 +151,7 @@ class layout extends common
}
echo '</div>';
}
echo '</main></section>';
echo '</main>';
}
/**