From 7dfc7e1e9a7566977b4738f08682efd02df87c7f Mon Sep 17 00:00:00 2001 From: Binary Alley Date: Fri, 6 Nov 2026 23:25:54 +0200 Subject: [PATCH] Adds the themed-view disclaimer comment to all Razor views in themes. --- .../Core/Views/Shared/NotFound.cshtml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Lumina.Presentation.Web/Core/Views/Shared/NotFound.cshtml b/src/Lumina.Presentation.Web/Core/Views/Shared/NotFound.cshtml index cd38a425..ecd91293 100644 --- a/src/Lumina.Presentation.Web/Core/Views/Shared/NotFound.cshtml +++ b/src/Lumina.Presentation.Web/Core/Views/Shared/NotFound.cshtml @@ -1,4 +1,13 @@ @* + FALLBACK NOT FOUND PAGE - READ BEFORE EDITING + + This view is the application fallback of the not found page, rendered only when the theme template of the page cannot be + loaded. On a healthy site the page comes from the theme's shared/not-found template. It keeps the DOM contract the theme + template mirrors, so that the page still shows the localized message even without the theme. + + To restyle the page, edit the theme files. This fallback is intentionally plain, so that a broken theme is obvious to the + user while the page still functions. + /not-found/ *@