@graphcommerce/docs 6.2.0-canary.47 → 6.2.0-canary.48
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/CHANGELOG.md +2 -0
- package/framework/favicon.md +14 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/framework/favicon.md
CHANGED
|
@@ -35,6 +35,20 @@ to simplify the process of making correct favicons.
|
|
|
35
35
|
<figcaption>Favicon sketch template</figcaption>
|
|
36
36
|
</figure>
|
|
37
37
|
|
|
38
|
+
## Open Graph preview image
|
|
39
|
+
|
|
40
|
+
The Open Graph image is automaticly set for product and category pages if
|
|
41
|
+
possible. For product pages the first gallary image will be used and for
|
|
42
|
+
category pages the image uploaded to the `Category Image` attribute. If these
|
|
43
|
+
images are not availale or on any of the other other pages a preview image will
|
|
44
|
+
not be added unless added as `ogImage` prop to the `PageMeta`, `, CategoryMeta`
|
|
45
|
+
or `ProductPageMeta` components.
|
|
46
|
+
|
|
47
|
+
It is possible to enable a fallback image per route by setting the
|
|
48
|
+
`ogImageUseFallback` prop to `true` on either the `PageMeta`, `, CategoryMeta`
|
|
49
|
+
or `ProductPageMeta` components. The image used as fallback can be found at
|
|
50
|
+
`/public/open-graph-image.jpg`
|
|
51
|
+
|
|
38
52
|
## Next steps
|
|
39
53
|
|
|
40
54
|
- Lear more about [Static file serving](../framework/static-file-serving.md)
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "@graphcommerce/docs",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/docs",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce/docs",
|
|
5
|
-
"version": "6.2.0-canary.
|
|
5
|
+
"version": "6.2.0-canary.48",
|
|
6
6
|
"sideEffects": true,
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.
|
|
8
|
+
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.48"
|
|
9
9
|
},
|
|
10
10
|
"prettier": "@graphcommerce/prettier-config-pwa"
|
|
11
11
|
}
|