diff --git a/site/snippets/footer.php b/site/snippets/footer.php new file mode 100644 index 0000000..6acee68 --- /dev/null +++ b/site/snippets/footer.php @@ -0,0 +1,19 @@ + + + + + + + + + + diff --git a/site/snippets/header.php b/site/snippets/header.php new file mode 100644 index 0000000..262e42b --- /dev/null +++ b/site/snippets/header.php @@ -0,0 +1,50 @@ + + + + + + + <?= $title ?? $page->title() ?> | Index.ngo + + + + + + + + + + diff --git a/site/templates/home.php b/site/templates/home.php index 3860da0..26ed9c6 100644 --- a/site/templates/home.php +++ b/site/templates/home.php @@ -1,53 +1,4 @@ - - - - - - - <?= $site->title() ?> | Index.ngo - - - - - - - - - - + $site->title(), 'template' => 'store']) ?>

@@ -75,17 +26,4 @@

- - - - - + diff --git a/site/templates/product.php b/site/templates/product.php index f44a401..cf1fd98 100644 --- a/site/templates/product.php +++ b/site/templates/product.php @@ -1,53 +1,4 @@ - - - - - - - <?= $page->title() ?> | Index.ngo - - - - - - - - - - + $page->title(), 'template' => 'shop']) ?>
- - - - - - - + ['assets/js/product-size.js', 'assets/js/snipcart.js']]) ?>