Hi team 👋🏾 . In my project, I have created a layout that every post must use for styling and structure (project-template). Currently the default for prop 'projectDescription' in the project template is being displayed instead of the productDescription data from my post.md file. How do I structure the md file so that it's data is being displayed instead of the default in the template? Thanks in advance.
Code snippet for template:
import Head from "../components/head.astro";
const {
frontmatter,
projectDescription = "Introduce your project in a sentence",
} = Astro.props;
<h1 class="project-hero__h1">{frontmatter.title}</h1>
<h2 class="project-hero__h2">{projectDescription}</h2>
My post file has the following code snippet: