page titles and favicon
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user