public function base_render_before($sender)
{
// Bail out if we're in the dashboard
if (inSection('Dashboard')) {
return;
}
// Fetch the currently enabled locale (en by default)
$locale = Gdn::locale()->current();
$sender->setData('locale', $locale);
$sender->Head->addCss('./themes/custom/design/extra.css');
}