Merge pull request #3308 from sbwalker/dev

revert remaining logic which forced page themes to be a member of a site theme (4.0.0)
This commit is contained in:
Shaun Walker 2023-09-23 11:47:08 -04:00 committed by GitHub
commit fc1e9c5d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -375,10 +375,6 @@
// appearance
_title = _page.Title;
_themetype = _page.ThemeType;
if (string.IsNullOrEmpty(_themetype) || ThemeService.GetTheme(PageState.Site.Themes, _themetype)?.ThemeName != ThemeService.GetTheme(PageState.Site.Themes, PageState.Site.DefaultThemeType)?.ThemeName)
{
_themetype = PageState.Site.DefaultThemeType;
}
_themes = ThemeService.GetThemeControls(PageState.Site.Themes);
_containers = ThemeService.GetContainerControls(PageState.Site.Themes, _themetype);
_containertype = _page.DefaultContainerType;