Phrozn/Site/View/Markdown.php
public function render($vars = array())
    {
        $view = parent::render($vars);
        if ($this->hasLayout()) {
            // inject global site and front matter options into template
            $vars = array_merge_recursive($vars, $this->getParams());
            $view = $this->applyLayout($view, $vars);
        }
        return $view;
    }
public function render($vars = array())
    {
        $view = parent::render($vars);
        if ($this->hasLayout()) {
            // inject global site and front matter options into template
            $vars = array_merge_recursive($vars, $this->getParams());
            $view = $this->applyLayout($view, $vars);
        }
        return $view;
    }
public function render ( $ vars = array ( ) ) { $ view = parent :: render ( $ vars ) ; if ( $ this -> hasLayout ( ) ) { // inject global site and front matter options into template $ vars = array_merge_recursive ( $ vars , $ this -> getParams ( ) ) ; $ view = $ this -> applyLayout ( $ view , $ vars ) ; } return $ view ; }
Render view. Markdown views are rendered within layout.

@param array $vars List of variables passed to text processors

@return string
Render view . Markdown views are rendered within layout .