Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 6fde167

Browse files
authored
Merge pull request #281 from asigloo/feature/280-proper-og-meta-for-docs
Feature/280 proper og meta for docs
2 parents 5d20d08 + c4673d9 commit 6fde167

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

docs/.vitepress/config.js

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,49 @@ const config = {
9393
],
9494
},
9595
},
96+
head: [
97+
['meta', { name: 'theme-color', content: '#3eaf7c' }],
98+
['link', { rel: 'icon', href: '/favicon-32x32.png', type: 'image/png' }],
99+
['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }],
100+
['meta', { name: 'author', content: 'Alvaro Saburido' }],
101+
['meta', { property: 'og:title', content: 'Vue Dynamic Forms' }],
102+
[
103+
'meta',
104+
{
105+
property: 'og:image',
106+
content:
107+
'https://res.cloudinary.com/alvarosaburido/image/upload/v1589993773/portfolio/web/vue-dynamic-forms/open-graph-preview_kv4glm.png',
108+
},
109+
],
110+
[
111+
'meta',
112+
{
113+
property: 'og:description',
114+
content:
115+
'Easy way to dynamically create reactive forms in vue based on varying business object model',
116+
},
117+
],
118+
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
119+
['meta', { name: 'twitter:creator', content: '@alvaro_code' }],
120+
[
121+
'meta',
122+
{
123+
name: 'twitter:image',
124+
content:
125+
'https://res.cloudinary.com/alvarosaburido/image/upload/v1589993773/portfolio/web/vue-dynamic-forms/open-graph-preview_kv4glm.png',
126+
},
127+
],
128+
129+
['link', { rel: 'dns-prefetch', href: 'https://fonts.gstatic.com' }],
130+
[
131+
'link',
132+
{
133+
rel: 'preconnect',
134+
crossorigin: 'anonymous',
135+
href: 'https://fonts.gstatic.com',
136+
},
137+
],
138+
],
96139
}
97140

98141
module.exports = config

docs/public/favicon-32x32.png

924 Bytes
Loading

docs/public/favicon.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)