lib/Pico.php
protected function getTwigVariables()
    {
        return array(
            'config' => $this->getConfig(),
            'base_dir' => rtrim($this->getRootDir(), '/'),
            'base_url' => rtrim($this->getBaseUrl(), '/'),
            'theme_dir' => $this->getThemesDir() . $this->getConfig('theme'),
            'theme_url' => $this->getBaseThemeUrl() . $this->getConfig('theme'),
            'site_title' => $this->getConfig('site_title'),
            'meta' => $this->meta,
            'content' => $this->content,
            'pages' => $this->pages,
            'prev_page' => $this->previousPage,
            'current_page' => $this->currentPage,
            'next_page' => $this->nextPage,
            'version' => static::VERSION
        );
    }
protected function getTwigVariables()
    {
        return array(
            'config' => $this->getConfig(),
            'base_dir' => rtrim($this->getRootDir(), '/'),
            'base_url' => rtrim($this->getBaseUrl(), '/'),
            'theme_dir' => $this->getThemesDir() . $this->getConfig('theme'),
            'theme_url' => $this->getBaseThemeUrl() . $this->getConfig('theme'),
            'site_title' => $this->getConfig('site_title'),
            'meta' => $this->meta,
            'content' => $this->content,
            'pages' => $this->pages,
            'prev_page' => $this->previousPage,
            'current_page' => $this->currentPage,
            'next_page' => $this->nextPage,
            'version' => static::VERSION
        );
    }
protected function getTwigVariables ( ) { return array ( 'config' => $ this -> getConfig ( ) , 'base_dir' => rtrim ( $ this -> getRootDir ( ) , '/' ) , 'base_url' => rtrim ( $ this -> getBaseUrl ( ) , '/' ) , 'theme_dir' => $ this -> getThemesDir ( ) . $ this -> getConfig ( 'theme' ) , 'theme_url' => $ this -> getBaseThemeUrl ( ) . $ this -> getConfig ( 'theme' ) , 'site_title' => $ this -> getConfig ( 'site_title' ) , 'meta' => $ this -> meta , 'content' => $ this -> content , 'pages' => $ this -> pages , 'prev_page' => $ this -> previousPage , 'current_page' => $ this -> currentPage , 'next_page' => $ this -> nextPage , 'version' => static :: VERSION ) ; }
Returns the variables passed to the template

URLs and paths (namely `base_dir`, `base_url`, `theme_dir` and
`theme_url`) don't add a trailing slash for historic reasons.

@return array template variables
Returns the variables passed to the template