Add frontmatter.title to types
This commit is contained in:
@ -3,7 +3,11 @@ import Layout from '~/layouts/PageLayout.astro';
|
|||||||
|
|
||||||
import { MetaSEO } from '~/types';
|
import { MetaSEO } from '~/types';
|
||||||
|
|
||||||
export interface Props {}
|
export interface Props {
|
||||||
|
frontmatter: {
|
||||||
|
title?: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const { frontmatter } = Astro.props;
|
const { frontmatter } = Astro.props;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user