fix /now page title
This commit is contained in:
@@ -8,7 +8,9 @@ export interface Props {
|
|||||||
title: string;
|
title: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const title = Astro.props.title;
|
const title = Astro.props.title || Astro.props.frontmatter.title;
|
||||||
|
|
||||||
|
console.log(Astro.props);
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|||||||
Reference in New Issue
Block a user