moved category list in main and main content in article
This commit is contained in:
parent
6b590330b5
commit
ca47bf6c62
@ -8,11 +8,9 @@ $allCategory = array(
|
|||||||
"Sans lactose" => "sans_lactose");
|
"Sans lactose" => "sans_lactose");
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php
|
|
||||||
View::show("common/category_list");
|
|
||||||
?>
|
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
<?= View::show("common/category_list"); ?>
|
||||||
|
<article>
|
||||||
<?php
|
<?php
|
||||||
foreach ($A_view as $categoryName => $recipes) {
|
foreach ($A_view as $categoryName => $recipes) {
|
||||||
echo '<section id="'.$allCategory[$categoryName].'">
|
echo '<section id="'.$allCategory[$categoryName].'">
|
||||||
@ -27,4 +25,5 @@ $allCategory = array(
|
|||||||
</section>';
|
</section>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user