FEATURE: temporarily load trainees into all pages
This commit is contained in:
@@ -80,12 +80,12 @@ class Handler implements TemplateHandler
|
||||
*/
|
||||
public static function beforeRender(Content & $content)
|
||||
{
|
||||
if ($content->isHomepage) {
|
||||
// if ($content->isHomepage) {
|
||||
$category = Category::where('url', 'trenersky-tym')
|
||||
->first();
|
||||
|
||||
$content->traineeTeamCategory = $category;
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user