page titles and favicon

This commit is contained in:
Graham Hall
2022-12-08 09:31:10 -05:00
parent 26402c3dc2
commit 4c41f0d44e
4 changed files with 5 additions and 16 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ export interface Props {
title: string;
}
const { title } = Astro.props;
const title = Astro.props.frontmatter ? Astro.props.frontmatter.title : Astro.props.title;
---
<!DOCTYPE html>