@lukoweb/apitogo 0.1.5 → 0.1.6

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/dist/cli/cli.js CHANGED
@@ -3816,7 +3816,7 @@ import {
3816
3816
  // package.json
3817
3817
  var package_default = {
3818
3818
  name: "@lukoweb/apitogo",
3819
- version: "0.1.4",
3819
+ version: "0.1.5",
3820
3820
  type: "module",
3821
3821
  sideEffects: [
3822
3822
  "**/*.css",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukoweb/apitogo",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "**/*.css",
package/src/app/main.tsx CHANGED
@@ -42,6 +42,9 @@ export const shikiReady: Promise<HighlighterCore> =
42
42
  export const convertZudokuConfigToOptions = (
43
43
  config: ZudokuConfig,
44
44
  ): ZudokuContextOptions => {
45
+ const siteTitle =
46
+ config.metadata?.applicationName ?? config.site?.title ?? "APIToGo";
47
+
45
48
  return {
46
49
  basePath: config.basePath,
47
50
  canonicalUrlOrigin: config.canonicalUrlOrigin,
@@ -57,7 +60,9 @@ export const convertZudokuConfigToOptions = (
57
60
  slots: config.slots,
58
61
  metadata: {
59
62
  favicon: "https://cdn.zudoku.dev/logos/favicon.svg",
60
- title: "%s - Zudoku",
63
+ applicationName: siteTitle,
64
+ defaultTitle: siteTitle,
65
+ title: `%s - ${siteTitle}`,
61
66
  ...config.metadata,
62
67
  },
63
68
  header: {