Add support for multilingual legal pages with English aliases, dynamic link replacement in headers, and redirections for alias routes. Update tests, configs, and frontend assets accordingly.

This commit is contained in:
Overlord committed 2026-10-13 16:41:08 +02:00
1 parent 5f3ff481b4
commit 5305687f98
16 files changed
+151 -39

No files matched your search

+1
View File
@@ -95,6 +95,7 @@ export function createBackend(config: BackendConfig, hub: SessionHub, options: B
const current = site();
const page = current && current.pages.get(sitePath(path) ?? '');
if (page?.status) return send(response, page.status, page.type, page.body, page.headers, head);
if (current && page)
{
// Every page changes together with the content, so the content hash is a valid ETag for all of them.