4 Commits

Author SHA1 Message Date
itsfinniii
82587a6211 Add description for Photo Category page 2026-04-03 22:40:47 +02:00
itsfinniii
c05b50877b Add comment to categories index 2026-04-03 22:38:17 +02:00
itsfinniii
9bf417478a Do the same for the project posts 2026-04-03 22:37:54 +02:00
itsfinniii
4f955a9ec6 Change searchEngine for BlogPost in route 2026-04-03 22:37:36 +02:00

View File

@@ -72,18 +72,7 @@ if (page === null || page.page === null || !page.page.exists) {
{ page.page.type === "BlogPost" && ( { page.page.type === "BlogPost" && (
<BlogLayout settings={{ <BlogLayout settings={{
searchEngine: { searchEngine: page.page.searchEngine,
title: page.page.searchEngine.title,
description: page.page.searchEngine.description,
allowCrawlers: page.page.searchEngine.allowCrawlers,
canonical: page.page.searchEngine.canonical,
priority: page.page.searchEngine.priority,
thumbnail: {
url: page.page.searchEngine.thumbnail.url,
width: 1200,
height: 630
}
},
tags: [] tags: []
}}> }}>
<Fragment slot="content"> <Fragment slot="content">
@@ -114,18 +103,7 @@ if (page === null || page.page === null || !page.page.exists) {
{ page.page.type === "ProjectPost" && ( { page.page.type === "ProjectPost" && (
<ProjectLayout settings={{ <ProjectLayout settings={{
searchEngine: { searchEngine: page.page.searchEngine,
title: "Projects",
description: "",
allowCrawlers: true,
canonical: null,
priority: 65,
thumbnail: {
url: "",
width: 1200,
height: 630
}
},
tags: [] tags: []
}}> }}>
<Fragment slot="content"> <Fragment slot="content">
@@ -138,7 +116,7 @@ if (page === null || page.page === null || !page.page.exists) {
<WebpageLayout settings={{ <WebpageLayout settings={{
searchEngine: { searchEngine: {
title: "Categories", title: "Categories",
description: "", description: "See the photo categories on this page, where you can see the different types of photography I do.",
allowCrawlers: true, allowCrawlers: true,
canonical: null, canonical: null,
priority: 65, priority: 65,
@@ -154,7 +132,7 @@ if (page === null || page.page === null || !page.page.exists) {
<WebpageLayout settings={{ <WebpageLayout settings={{
searchEngine: { searchEngine: {
title: page.page.category.title, title: page.page.category.title,
description: "", description: `See the photos in the category ${page.page.category.title.toLowerCase()}.`,
allowCrawlers: true, allowCrawlers: true,
canonical: null, canonical: null,
priority: 65, priority: 65,