@cedgetec-utils/astro-components 1.1.0 → 1.2.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Head.astro +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedgetec-utils/astro-components",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
package/src/Head.astro CHANGED
@@ -47,22 +47,22 @@ const openGraphImage = props.image
47
47
 
48
48
  <head>
49
49
  <meta charset="UTF-8" />
50
- <meta name="viewport" content="width=device-width" />
51
- <!-- Icons -->
50
+ <title>{title}</title>
51
+
52
52
  <link rel="icon" href={iconDark.src} />
53
53
  <link rel="icon" href={iconLight.src} media="(prefers-color-scheme:dark)" />
54
54
  <link rel="icon" href={iconDark.src} media="(prefers-color-scheme:light)" />
55
+
55
56
  <meta name="generator" content={Astro.generator} />
56
57
  <meta name="view-transition" content="same-origin" />
57
- <!-- Title etc. -->
58
- <title>{title}</title>
58
+ <meta name="viewport" content="width=device-width" />
59
59
  {props.description && <meta name="description" content={props.description} />}
60
60
  {
61
61
  props.keywords && (
62
62
  <meta name="keywords" content={props.keywords.join(",")} />
63
63
  )
64
64
  }
65
- <!-- Open Graph -->
65
+
66
66
  <meta property="og:title" content={ogTitle} />
67
67
  {
68
68
  props.description && (