Skip to content

Commit ac555f8

Browse files
committed
feat: seo stuff, queues, etc.
1 parent 16f5950 commit ac555f8

File tree

6 files changed

+25
-9
lines changed

6 files changed

+25
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@
5454
"vite": "npm:rolldown-vite@latest"
5555
}
5656
},
57-
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
57+
"packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac"
5858
}

site/blueprints/pages/error.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@ extends: pages/home
22
title: Error Page
33
image:
44
icon: cancel
5+
6+
buttons:
7+
- open
8+
- preview

site/blueprints/pages/layout.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ image:
44
back: "var(--theme-accent)"
55
color: "var(--theme-primary)"
66

7+
buttons:
8+
- open
9+
- preview
10+
- settings
11+
- status
12+
- robots
13+
714
options:
815
# access
916
# changeSlug

site/config/config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
'users',
7676
'plausible',
7777
'retour',
78+
'queues',
7879
]
7980
)
8081
],

site/config/seo.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
'robots' => [
55
'pageSettings' => false
66
],
7-
'canonicalBase' => env("APP_URL"),
7+
'canonical' => [
8+
'base' => env("APP_URL")
9+
],
810
'files' => [
911
'parent' => 'site.find("page://images")',
1012
'template' => 'image'

site/snippets/layout.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,19 @@
1414
<head>
1515
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1616

17-
<?php snippet('seo/head') ?>
18-
19-
<link rel="icon" href="/favicon.svg" />
20-
<link rel="mask-icon" href="/favicon.svg" color="#000000" />
21-
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
22-
<meta name="theme-color" content="#000000">
17+
<?php snippet('seo/head', slots: true) ?>
2318

2419
<?= vite([
2520
'src/styles/index.css',
2621
'src/index.ts'
2722
]) ?>
23+
24+
<?php endsnippet() ?>
25+
26+
<link rel="icon" href="/favicon.svg" />
27+
<link rel="mask-icon" href="/favicon.svg" color="#000000" />
28+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
29+
<meta name="theme-color" content="#000000">
2830
</head>
2931

3032
<body class="flex flex-col min-h-screen antialiased overflow-x-clip">
@@ -38,4 +40,4 @@
3840
<?php snippet('seo/schemas') ?>
3941
</body>
4042

41-
</html>
43+
</html>

0 commit comments

Comments
 (0)