cmdesigns 0.0.14 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmdesigns",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "An attempt at putting common chrissx Media design elements into a library.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -4,7 +4,7 @@ import Footer from "./Footer.astro";
4
4
 
5
5
  export interface Props {
6
6
  title: string;
7
- favicon: ImageMetadata | string;
7
+ favicon?: ImageMetadata | string;
8
8
  lang: string;
9
9
  copyrightstart: any;
10
10
  // TODO: support for copyrightend
@@ -23,7 +23,7 @@ let { title, favicon, lang, copyrightstart, description, themecolor } = Astro.pr
23
23
  {themecolor ? <meta name="theme-color" content={themecolor} /> : undefined}
24
24
  <meta name="viewport" content="width=device-width" />
25
25
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
26
- <Favicon src={favicon} />
26
+ {favicon ? <Favicon src={favicon} /> : undefined}
27
27
  <meta name="generator" content={Astro.generator} />
28
28
  <title>{title}</title>
29
29
  <slot name="head" />