@inglorious/ssx 1.11.0 → 1.11.1

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": "@inglorious/ssx",
3
- "version": "1.11.0",
3
+ "version": "1.11.1",
4
4
  "description": "Server-Side-X. Xecution? Xperience? Who knows.",
5
5
  "author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "sideEffects": false,
50
50
  "dependencies": {
51
- "@inglorious/logo": "^2.1.0",
51
+ "@inglorious/logo": "^2.1.1",
52
52
  "@lit-labs/ssr": "^4.0.0",
53
53
  "commander": "^14.0.2",
54
54
  "connect": "^3.7.0",
@@ -65,7 +65,7 @@
65
65
  "svgo": "^4.0.0",
66
66
  "vite": "^7.1.3",
67
67
  "vite-plugin-image-optimizer": "^2.0.3",
68
- "@inglorious/web": "4.4.0"
68
+ "@inglorious/web": "4.5.0"
69
69
  },
70
70
  "devDependencies": {
71
71
  "prettier": "^3.6.2",
@@ -16,13 +16,13 @@
16
16
  export function layout(body, options) {
17
17
  const {
18
18
  lang = "en",
19
+ head = "",
19
20
  prescripts = [],
20
21
  charset = "UTF-8",
21
22
  title = "",
22
23
  favicon = "",
23
24
  meta = {},
24
25
  styles = [],
25
- head = "",
26
26
  scripts = [],
27
27
  isDev,
28
28
  } = options
@@ -33,6 +33,7 @@ export function layout(body, options) {
33
33
  ${prescripts
34
34
  .map((src) => `<script type="text/javascript" src="${src}"></script>`)
35
35
  .join("\n")}
36
+ ${head}
36
37
  <meta charset="${charset}" />
37
38
  <title>${title}</title>
38
39
  <link rel="icon" type="image/x-icon" href="${favicon}">