We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2500b4 commit ad850b1Copy full SHA for ad850b1
astro.config.mjs
@@ -8,6 +8,8 @@ import prefetch from "@astrojs/prefetch";
8
9
import robotsTxt from "astro-robots-txt";
10
11
+const ogImage = 'https://codegenie.codes/og.jpg'
12
+
13
// https://astro.build/config
14
export default defineConfig({
15
site: 'https://codegenie.codes',
@@ -144,6 +146,20 @@ export default defineConfig({
144
146
picture: '/brett-amazon-badge-photo-profile-pic-square-128.webp'
145
147
},
148
149
+ head: [
150
+ {
151
+ tag: 'meta',
152
+ attrs: { property: 'og:image', content: ogImage },
153
+ },
154
155
156
+ attrs: { property: 'twitter:image', content: ogImage },
157
158
159
160
+ attrs: { property: 'twitter:card', content: 'summary_large_image' },
161
162
+ ],
163
}),
164
],
165
0 commit comments