Skip to content

Commit f02122c

Browse files
committed
feat: add social sharing image meta tags to VitePress config
1 parent 82840d4 commit f02122c

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docs/.vitepress/config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,22 @@ module.exports = {
6868

6969
head: [
7070
['link', { rel: 'icon', href: '/favicon.ico' }],
71+
// Add social sharing image meta tags
72+
[
73+
'meta',
74+
{
75+
property: 'og:image',
76+
content: 'https://vue3-carousel.ismail9k.com/social-image.png',
77+
},
78+
],
79+
[
80+
'meta',
81+
{
82+
name: 'twitter:image',
83+
content: 'https://vue3-carousel.ismail9k.com/social-image.png',
84+
},
85+
],
86+
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
7187
[
7288
'script',
7389
{

docs/public/social-image.png

143 KB
Loading

0 commit comments

Comments
 (0)