---
//import type { InferGetStaticPropsType } from 'astro'
import config from 'virtual:starlight-ghost-config'
import Page from '../components/Page.astro'
import Posts from '../components/Posts.astro'
//import PrevNextLinks from '../components/PrevNextLinks.astro'
import { getPageProps } from '../utils/page'
import { getAllPosts } from '../utils/api'
const entries = await getAllPosts();
//const { entries, nextLink, prevLink } = Astro.props
const pageProps = getPageProps(config.title)
---
{config.supportGhost && (
)}