Initial commit

This commit is contained in:
isUnknown 2026-02-12 15:22:46 +01:00
commit 65e0da7e11
1397 changed files with 596542 additions and 0 deletions

13
site/controllers/shop.php Normal file
View file

@ -0,0 +1,13 @@
<?php
return function ($site, $pages, $page) {
$products = $page->grandChildren()->published();
return array(
'ptemplate' => $page->intendedTemplate(),
'artists' => $site->index()->published()->filterBy('intendedTemplate', 'artist'),
'products' => $products->shuffle()
);
}
?>