nuxt-og-image 1.3.1 → 1.3.2
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/README.md
CHANGED
|
@@ -31,6 +31,9 @@ Enlightened OG Image generation for Nuxt 3.
|
|
|
31
31
|
|
|
32
32
|
ℹ️ Looking for a complete SEO solution? Check out [Nuxt SEO Kit](https://github.com/harlan-zw/nuxt-seo-kit).
|
|
33
33
|
|
|
34
|
+
## Demos
|
|
35
|
+
|
|
36
|
+
- [Alpine Theme](https://stackblitz.com/edit/github-hgunsf?file=package.json) (visit `/__og_image__`)
|
|
34
37
|
|
|
35
38
|
## Features
|
|
36
39
|
|
package/dist/module.json
CHANGED
|
@@ -40,7 +40,7 @@ export function defineOgImage(options = {}) {
|
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
property: "og:image",
|
|
43
|
-
content: () => withBase(`${route}/__og_image__/og.png`, host)
|
|
43
|
+
content: () => withBase(`${route === "/" ? "" : route}/__og_image__/og.png`, host)
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
property: "og:image:width",
|