public function renderLayout($content, \Mmi\Http\Request $request)
    {
        return $this->isLayoutDisabled() ? $content : $this
                //ustawianie treści w placeholder 'content'
            ->setPlaceholder('content', $content)
                //renderowanie layoutu
            ->renderTemplate($this->_getLayout($request));
    }