design tweaks

This commit is contained in:
2024-03-01 23:11:17 -05:00
parent 4cdc973448
commit 605af08295
27 changed files with 88 additions and 73 deletions
+4 -3
View File
@@ -6,11 +6,12 @@ import Footer from '@components/Footer.astro';
export interface Props {
title: string;
frontmatter?: {
title: string;
};
}
const title = Astro.props.title || Astro.props.frontmatter.title;
console.log(Astro.props);
const title = Astro.props.title || Astro.props.frontmatter?.title || 'Unknown';
---
<!DOCTYPE html>