Update some metadata for the photo category page

This commit is contained in:
itsfinniii
2026-04-03 22:33:41 +02:00
parent aa93600c79
commit 32c698c39a
7 changed files with 51 additions and 16 deletions

View File

@@ -152,11 +152,7 @@ if (page === null || page.page === null || !page.page.exists) {
allowCrawlers: true,
canonical: null,
priority: 65,
thumbnail: {
url: page.page.category.thumbnail.url,
width: 1200,
height: 630
}
thumbnail: page.page.category.thumbnail
}}}>
<Fragment slot="content">
<CategoryIndex />
@@ -167,16 +163,12 @@ if (page === null || page.page === null || !page.page.exists) {
{ page.pageType === "PhotoCategory" && (
<WebpageLayout settings={{
searchEngine: {
title: "",
title: page.page.category.title,
description: "",
allowCrawlers: true,
canonical: null,
priority: 65,
thumbnail: {
url: "",
width: 1200,
height: 630
}
thumbnail: page.page.category.thumbnail
}}}>
<Fragment slot="content">
<Category category={page.page} />