---
import type { CollectionEntry } from 'astro:content'
import Picture from '@components/Picture/index.astro'
type Props = { post: CollectionEntry<'photos'> }
const { slug, data } = Astro.props.post
const { title, image } = data
---
{
image ? (
) : null
}