We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c6a5c4 commit bf39786Copy full SHA for bf39786
1 file changed
vendor/integration/index.ts
@@ -32,6 +32,16 @@ export default ({ config: _themeConfig = 'src/config.yaml' } = {}): AstroIntegra
32
site: SITE.site,
33
base: SITE.base,
34
35
+ // Fix images not working when `trailingSlash` is enabled in config.yaml
36
+ // `trailingSlash` needed since GitHub pages adds them forcefully,
37
+ // else, CircularMenu opened notebook pages wouldn't have formatting.
38
+ // https://github.com/arthelokyo/astrowind/issues/596#issuecomment-2698298670
39
+ image: {
40
+ endpoint: {
41
+ route: SITE.trailingSlash ? '/_image/' : '/_image',
42
+ }
43
+ },
44
+
45
trailingSlash: SITE.trailingSlash ? 'always' : 'never',
46
47
vite: {
0 commit comments