Skip to content

Commit 950664d

Browse files
committed
fix: change field metadata to the headTags
1 parent d57a28e commit 950664d

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

docusaurus.config.ts

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ const config: Config = {
1212
tagline: 'Decentralized clearing and settlement network.\nDevelop Yellow Apps with instant finality.',
1313
favicon: 'img/favicon.ico',
1414

15-
// SEO metadata
16-
metadata: [
17-
{
18-
name: 'description',
19-
content: 'Build Yellow Apps with the Yellow SDK - a real-time communication toolkit for decentralized clearing and settlement. Create applications with unified cross-chain balance and instant finality.',
20-
},
21-
],
22-
2315
// Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
2416
future: {
2517
v4: true, // Improve compatibility with the upcoming Docusaurus v4
@@ -39,6 +31,17 @@ const config: Config = {
3931
onBrokenLinks: 'warn',
4032
onBrokenMarkdownLinks: 'warn',
4133

34+
// SEO metadata - injected into HTML head
35+
headTags: [
36+
{
37+
tagName: 'meta',
38+
attributes: {
39+
name: 'description',
40+
content: 'Build Yellow Apps with the Yellow SDK - a real-time communication toolkit for decentralized clearing and settlement. Create applications with unified cross-chain balance and instant finality.',
41+
},
42+
},
43+
],
44+
4245
// Even if you don't use internationalization, you can use this field to set
4346
// useful metadata like html lang. For example, if your site is Chinese, you
4447
// may want to replace "en" with "zh-Hans".

0 commit comments

Comments
 (0)