Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit 717cbdc

Browse files
committed
fix: add title and info meta tags for swiftype to index
1 parent 6eeee82 commit 717cbdc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/components/seo.js

+18
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,24 @@ function SEO({ description, lang, meta, title }) {
7373
'data-type': 'enum',
7474
content: 'opensource',
7575
},
76+
{
77+
name: 'title',
78+
class: 'swiftype',
79+
'data-type': 'string',
80+
content: title,
81+
},
82+
{
83+
name: 'info',
84+
class: 'swiftype',
85+
'data-type': 'string',
86+
content: description,
87+
},
88+
{
89+
name: 'document_type',
90+
class: 'swiftype',
91+
'data-type': 'enum',
92+
content: 'page',
93+
},
7694
].concat(meta)}
7795
/>
7896
);

0 commit comments

Comments
 (0)