@farming-labs/nuxt-theme 0.1.84 → 0.1.85

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.84",
3
+ "version": "0.1.85",
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.84"
91
+ "@farming-labs/docs": "0.1.85"
92
92
  },
93
93
  "peerDependencies": {
94
94
  "nuxt": ">=3.0.0",
@@ -22,6 +22,7 @@ const props = defineProps<{
22
22
  nextPage?: { name: string; url: string } | null;
23
23
  editOnGithub?: string;
24
24
  lastModified?: string;
25
+ structuredData?: string;
25
26
  entry?: string;
26
27
  slug?: string;
27
28
  locale?: string;
@@ -239,6 +240,10 @@ useHead({
239
240
  markdownAlternateHref.value
240
241
  ? [{ rel: "alternate", type: "text/markdown", href: markdownAlternateHref.value }]
241
242
  : [],
243
+ script: () =>
244
+ props.data.structuredData
245
+ ? [{ type: "application/ld+json", innerHTML: props.data.structuredData }]
246
+ : [],
242
247
  });
243
248
 
244
249
  function handleCopyPage() {