Make first test for photos
This commit is contained in:
@@ -15,6 +15,7 @@ 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 Photo from "@/components/photos/Photo.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const settings = await getSettings();
|
||||
@@ -176,7 +177,7 @@ if (page === null || page.page === null || !page.page.exists) {
|
||||
}
|
||||
}}}>
|
||||
<Fragment slot="content">
|
||||
<div>{JSON.stringify(page.page)}</div>
|
||||
<Photo page={page.page} />
|
||||
</Fragment>
|
||||
</PhotoLayout>
|
||||
) }
|
||||
|
||||
Reference in New Issue
Block a user