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");
|
||||
?>
|
||||
|
||||
<?php
|
||||
View::show("common/category_list");
|
||||
?>
|
||||
|
||||
<main>
|
||||
<?= View::show("common/category_list"); ?>
|
||||
<article>
|
||||
<?php
|
||||
foreach ($A_view as $categoryName => $recipes) {
|
||||
echo '<section id="'.$allCategory[$categoryName].'">
|
||||
@ -27,4 +25,5 @@ $allCategory = array(
|
||||
</section>';
|
||||
}
|
||||
?>
|
||||
</article>
|
||||
</main>
|
||||
|
Loading…
Reference in New Issue
Block a user