public function getSitePageTemplateConfig(Site $site, $template = null)
    {
        $themePageConfig = $this->getSiteThemePagesTemplateConfig($site);

        if (!empty($themePageConfig[$template])) {
            return $themePageConfig[$template];
        } elseif (!empty($themePageConfig['default'])) {
            return $themePageConfig['default'];
        }

        throw new RuntimeException('No Page Template Found in config');
    }