FEATURE: add base support for displaying multiple pages on one-page template
This commit is contained in:
@@ -17,10 +17,10 @@ class Homepage extends ContentPage
|
||||
}
|
||||
|
||||
// render page
|
||||
try {
|
||||
// try {
|
||||
return $this->renderPage($page);
|
||||
} catch (\Exception $e) {
|
||||
return view('errors.homepageNotAvailable', ['exception' => $e, 'reason' => 'exception']);
|
||||
}
|
||||
// } catch (\Exception $e) {
|
||||
// return view('errors.homepageNotAvailable', ['exception' => $e, 'reason' => 'exception']);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user