Falls back to the unstyled application views when a theme template is missing

This commit is contained in:
BinaryAlley committed 2026-08-29 13:11:16 +03:00
1 parent f4b90a5aea
commit 3192b9c585
11 files changed
+366 -301

No files matched your search

@@ -57,7 +57,7 @@ public interface IThemeService
Task<Result<ThemeManifestDto>> LoadManifestAsync(string themeId, CancellationToken cancellationToken);
/// <summary>
/// Gets the sanitized content of the template selected by a page key, falling back to the default template when the key is missing.
/// Gets the sanitized content of the template selected by a page key, returning an error when the theme provides no template for the page.
/// </summary>
/// <param name="themeId">The manifest id of the theme.</param>
/// <param name="pageKey">The page key that selects the template.</param>