diff --git a/nodsoft_moltenobsidian_web/src/components/BaseHead.astro b/nodsoft_moltenobsidian_web/src/components/BaseHead.astro index 9fe2eb9..5ec5fef 100644 --- a/nodsoft_moltenobsidian_web/src/components/BaseHead.astro +++ b/nodsoft_moltenobsidian_web/src/components/BaseHead.astro @@ -1,7 +1,12 @@ --- // const canonicalURL = new URL(Astro.url.pathname, Astro.site); -const { title, description } = Astro.props; +const defaultProps = { + title: "MoltenObsidian", + description: ".NET 6+ Library for Obsidian-flavoured Markdown parsing for Blazor with Vault mapping support." +} + +const { title, description } = Astro.props || defaultProps; const base = import.meta.env.BASE_URL ?? "/"; --- @@ -9,7 +14,10 @@ const base = import.meta.env.BASE_URL ?? "/"; + + + @@ -31,6 +39,8 @@ const base = import.meta.env.BASE_URL ?? "/"; + +