mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
docs(og-image): add excludeRoot config + update preview images
This commit is contained in:
parent
12c99a5673
commit
fdbd24c1ff
@ -27,6 +27,7 @@ generateSocialImages: {
|
|||||||
colorScheme: "lightMode", // what colors to use for generating image, same as theme colors from config, valid values are "darkMode" and "lightMode"
|
colorScheme: "lightMode", // what colors to use for generating image, same as theme colors from config, valid values are "darkMode" and "lightMode"
|
||||||
width: 1200, // width to generate with (in pixels)
|
width: 1200, // width to generate with (in pixels)
|
||||||
height: 630, // height to generate with (in pixels)
|
height: 630, // height to generate with (in pixels)
|
||||||
|
excludeRoot: false, // wether to exclude "/" index path to be excluded from auto generated images (false = use auto, true = use default og image)
|
||||||
imageStructure: defaultImage // import from `socialImage.tsx`, recommended to add your own one there as well
|
imageStructure: defaultImage // import from `socialImage.tsx`, recommended to add your own one there as well
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 139 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 250 KiB After Width: | Height: | Size: 134 KiB |
Loading…
Reference in New Issue
Block a user