parent
167ad06dde
commit
1322cb4eb0
@ -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>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user