fix /now page title

This commit is contained in:
2024-02-24 14:09:00 -05:00
parent 1279cade22
commit 08e8a06b87
+3 -1
View File
@@ -8,7 +8,9 @@ export interface Props {
title: string;
}
const title = Astro.props.title;
const title = Astro.props.title || Astro.props.frontmatter.title;
console.log(Astro.props);
---
<!DOCTYPE html>