File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- import { generateMetaTags } from ' @/utils/seo' ;
2
+ import { generateMetaTags , generateSocialImage } from ' @/utils/seo' ;
3
3
import config from ' @/config' ;
4
4
5
5
const { frontmatter } = Astro .props ;
6
6
7
7
const title = frontmatter ?.title || ' VeeValidate: Painless Vue.js forms' ;
8
- const description = frontmatter ?.title || ' Painless Vue.js forms' ;
8
+ const description = frontmatter ?.description || ' Painless Vue.js forms' ;
9
9
const path = frontmatter ?.url || ' /' ;
10
+ const image = generateSocialImage ({
11
+ title: title ,
12
+ tagline: description ,
13
+ imagePublicID: ' open-source/vee-validate-share.png' ,
14
+ });
10
15
11
16
const metaTags = generateMetaTags ({
12
17
title ,
13
18
description ,
14
19
url: ` ${config .appURL }${path } ` ,
20
+ image ,
15
21
});
16
22
---
17
23
Original file line number Diff line number Diff line change 1
1
---
2
2
layout : ../../layouts/PageLayout.astro
3
3
title : Nuxt integration
4
- description : VeeValidate Integration with nuxt
4
+ description : VeeValidate Nuxt module
5
5
order : 3
6
6
---
7
7
You can’t perform that action at this time.
0 commit comments