@farming-labs/nuxt-theme 0.1.85 → 0.1.88

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": "@farming-labs/nuxt-theme",
3
- "version": "0.1.85",
3
+ "version": "0.1.88",
4
4
  "description": "Nuxt/Vue UI components for @farming-labs/docs — layout, sidebar, TOC, search, and theme toggle",
5
5
  "keywords": [
6
6
  "docs",
@@ -88,7 +88,7 @@
88
88
  },
89
89
  "dependencies": {
90
90
  "sugar-high": "^0.9.5",
91
- "@farming-labs/docs": "0.1.85"
91
+ "@farming-labs/docs": "0.1.88"
92
92
  },
93
93
  "peerDependencies": {
94
94
  "nuxt": ">=3.0.0",
@@ -85,9 +85,11 @@ const showLastModified = computed(() => !!props.data.lastModified);
85
85
 
86
86
  const llmsTxtEnabled = computed(() => {
87
87
  const cfg = props.config?.llmsTxt;
88
+ if (cfg === undefined) return true;
88
89
  if (cfg === true) return true;
90
+ if (cfg === false) return false;
89
91
  if (typeof cfg === "object" && cfg !== null) return (cfg as { enabled?: boolean }).enabled !== false;
90
- return false;
92
+ return true;
91
93
  });
92
94
 
93
95
  const entry = computed(() => (props.data.entry as string) ?? (props.config?.entry as string) ?? "docs");