src/Step/RenderPages.php
protected function addGlobals()
    {
        // adds global variables
        $this->phpoole->getRenderer()->addGlobal('site', array_merge(
            $this->config->get('site'),
            ['menus' => $this->phpoole->getMenus()],
            ['pages' => $this->phpoole->getPages()->filter(function (Page $page) {
                return $page->getVariable('published');
            })],
            ['time' => time()]
        ));
        $this->phpoole->getRenderer()->addGlobal('cecil', [
            'url'       => sprintf('https://cecil.app/#%s', $this->phpoole->getVersion()),
            'version'   => $this->phpoole->getVersion(),
            'poweredby' => sprintf('Cecil/PHPoole v%s', $this->phpoole->getVersion()),
        ]);
    }
protected function addGlobals()
    {
        // adds global variables
        $this->phpoole->getRenderer()->addGlobal('site', array_merge(
            $this->config->get('site'),
            ['menus' => $this->phpoole->getMenus()],
            ['pages' => $this->phpoole->getPages()->filter(function (Page $page) {
                return $page->getVariable('published');
            })],
            ['time' => time()]
        ));
        $this->phpoole->getRenderer()->addGlobal('cecil', [
            'url'       => sprintf('https://cecil.app/#%s', $this->phpoole->getVersion()),
            'version'   => $this->phpoole->getVersion(),
            'poweredby' => sprintf('Cecil/PHPoole v%s', $this->phpoole->getVersion()),
        ]);
    }
Add globals variables.