Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
SakuraIsayeki committed Feb 16, 2024
2 parents 6a2b2c7 + fa90fe3 commit 169fe30
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion nodsoft_moltenobsidian_web/src/components/BaseHead.astro
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
---
// 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 ?? "/";
---

<!-- Global Metadata -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" href={base + "favicon.ico"} />
<link rel="icon" type="image/png" sizes="512x512" href={base + "android-chrome-512x512.png"} />
<link rel="icon" type="image/png" sizes="192x192" href={base + "android-chrome-192x192.png"} />
<link rel="apple-touch-icon" sizes="180x180" href={base + "apple-touch-icon.png"}>
<link rel="icon" type="image/png" sizes="150x150" href={base + "mstile-150x150.png"}>
<link rel="icon" type="image/png" sizes="32x32" href={base + "favicon-32x32.png"}>
<link rel="icon" type="image/png" sizes="16x16" href={base + "favicon-16x16.png"}>
<link rel="manifest" href={base + "site.webmanifest"}>
Expand All @@ -31,6 +39,8 @@ const base = import.meta.env.BASE_URL ?? "/";
<meta property="og:url" content={Astro.url} />
<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={base + "android-chrome-192x192.png"} />


<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
Expand Down

0 comments on commit 169fe30

Please sign in to comment.