#5 New base layout & doc section

This commit is contained in:
Daniel Brendel
2023-03-22 15:53:32 +01:00
parent 5c31b3e581
commit 01f9530645
10 changed files with 1024 additions and 892 deletions

View File

@ -25,6 +25,20 @@ class IndexController extends BaseController {
public function index($request)
{
//Generate and return a view by using the helper
return parent::view(['content', 'index']);
return parent::view(['content', 'index'], [
'show_header' => true
]);
}
/**
* Handles URL: /documentation
*
* @param Asatru\Controller\ControllerArg $request
* @return Asatru\View\ViewHandler
*/
public function documentation($request)
{
//Generate and return a view by using the helper
return parent::view(['content', 'doc']);
}
}