Fix design validation, canonical routes, media headers and favicon

This commit is contained in:
2026-11-23 18:52:26 +08:00
parent 01ede89dcd
commit 584455c66d
18 changed files with 153 additions and 65 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
<?php
use App\Content\Assets;
use App\Content\View;
$e = View::escape(...);
@@ -16,7 +17,7 @@ $active = match (true) {
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex, nofollow">
<link rel="icon" href="/assets/system/laysite-mark.webp" type="image/webp">
<link rel="icon" href="<?= $e(Assets::DEFAULT_ICON) ?>" type="image/webp">
<title><?= $e($title) ?> CMS</title>
<link rel="stylesheet" href="/assets/site.css">
<link rel="stylesheet" href="/assets/admin.css">