public function synchronize(Page $page, array $pages)
    {
        if (!$this->configurationHandler->isTheme()) {
            return;
        }

        foreach ($pages as $pageValues) {
            $tokens = explode("_", $pageValues["seo"][0]["language"]);
            $pageOptions = array(
                'page' => $pageValues["name"],
                'language' => $tokens[0],
                'country' => $tokens[1],
            );
            $page->render($this->configurationHandler->siteDir(), $pageOptions);
            $this->saveTemplateSlots($page->getPageSlots(), $pageValues["template"]);
        }

        $this->saveTemplateSlots($page->getCommonSlots(), 'base');
    }