Create base for Albums
This commit is contained in:
@@ -13,8 +13,8 @@ import BlogPost from "@/components/blogs/BlogPost.astro";
|
||||
import ProjectPost from "@/components/projects/ProjectPost.astro";
|
||||
import CategoryIndex from "@/components/photos/CategoryIndex.astro";
|
||||
import Category from "@/components/photos/Category.astro";
|
||||
import AlbumPage from "@/components/photos/Album.astro";
|
||||
import { getImageUrl } from "@/lib/images";
|
||||
import AlbumPage from "@/components/photos/AlbumPage.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const settings = await getSettings();
|
||||
@@ -148,7 +148,7 @@ if (page === null || page.page === null || !page.page.exists) {
|
||||
{ page.pageType === "PhotoAlbum" && (
|
||||
<WebpageLayout settings={{
|
||||
searchEngine: {
|
||||
title: page.page.category.title,
|
||||
title: page.page.title,
|
||||
description: `See the photos in the ${page.page.category.title.toLowerCase()} category.`,
|
||||
allowCrawlers: true,
|
||||
canonical: null,
|
||||
|
||||
Reference in New Issue
Block a user