Restore the original Laysense footer

This commit is contained in:
2026-11-21 23:49:21 +08:00
parent 2ef38bd716
commit abccb8c004
8 changed files with 88 additions and 33 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ if (str_starts_with($imageUrl, '/')) {
$kind = in_array($page['slug'] ?? '', ['sc', 'shnu-sc'], true) ? 'service' : 'software';
$siteKind = $kind === 'service' ? 'other' : 'software';
$header = ($site['header'] ?? []) + SiteDesign::DEFAULT_HEADER;
$footer = ($site['footer'] ?? []) + SiteDesign::DEFAULT_FOOTER + $site;
$footer = SiteDesign::footer($site);
$nav = $header['links'];
$contact = $header['button'];
?>