Error flags on the line of my layout containing {frontmatter.title}
This is the frontmatter for the BaseLayoutNoAuthor page:
const {frontmatter} = Astro.props;
And the page that seems to be causing these issues reads as follows:
`---
import BaseLayoutNoAuthor from "../../../../layouts/BaseLayoutNoAuthor.astro";
const pageTitle="---";
const allPosts = await Astro.glob('./article//.md');
<BaseLayoutNoAuthor pageTitle={pageTitle}>
<ul>
{allPosts.map((post) =>
<li><a href={post.url}>{post.frontmatter.title}</a><br/>
{post.frontmatter.author}, {post.frontmatter.pubDate}<br/>
{post.frontmatter.description}</li>)}
</ul>
</BaseLayoutNoAuthor>`
Any idea what might be going wrong? I followed all the instructions on the Astro website.