Initial commit
This commit is contained in:
commit
65e0da7e11
1397 changed files with 596542 additions and 0 deletions
13
site/controllers/project.php
Normal file
13
site/controllers/project.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
return function ($site, $pages, $page) {
|
||||
|
||||
return array(
|
||||
'ptemplate' => $page->intendedTemplate(),
|
||||
'menuPosition' => 'bottom',
|
||||
'medias' => $page->medias()->toStructure(),
|
||||
'projects' => $page->parent()->children()->published()
|
||||
);
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue