Skip to content

Commit 901ba99

Browse files
authored
Adding common metatags (#677)
* Adding common metatags * removed the accordian * added in metatags.io quick fix
1 parent cbc9d9f commit 901ba99

File tree

1 file changed

+102
-1
lines changed

1 file changed

+102
-1
lines changed

settings/seo.mdx

Lines changed: 102 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ The platform automatically generates most meta tags.
88

99
However, you can fully customize them by adding the [metadata](/core-concepts/settings#param-metadata) field to your `docs.json` or the page's frontmatter.
1010

11+
12+
1113
## Global meta tags
1214

1315
You can set default meta tags by adding the `metadata` field to your `docs.json`.
@@ -65,4 +67,103 @@ You can also specify `noindex` for all pages in your docs by setting the `metada
6567
"robots": "noindex"
6668
}
6769
}
68-
```
70+
```
71+
72+
## Common Meta Tags Reference
73+
Below is a comprehensive list of meta tags you can add to your `docs.json`. These meta tags help improve your site's SEO, social sharing, and browser compatibility.
74+
75+
You can preview how your meta tags will appear on different platforms using [metatags.io](https://metatags.io/).
76+
77+
```json
78+
"seo": {
79+
"metatags": {
80+
"robots": "noindex",
81+
"charset": "UTF-8",
82+
"viewport": "width=device-width, initial-scale=1.0",
83+
"description": "Page description",
84+
"keywords": "keyword1, keyword2, keyword3",
85+
"author": "Author Name",
86+
"robots": "index, follow",
87+
"googlebot": "index, follow",
88+
"google": "notranslate",
89+
"google-site-verification": "verification_token",
90+
"generator": "Mintlify",
91+
"theme-color": "#000000",
92+
"color-scheme": "light dark",
93+
"format-detection": "telephone=no",
94+
"referrer": "origin",
95+
"refresh": "30",
96+
"rating": "general",
97+
"revisit-after": "7 days",
98+
"language": "en",
99+
"copyright": "Copyright 2024",
100+
"reply-to": "[email protected]",
101+
"distribution": "global",
102+
"coverage": "Worldwide",
103+
"category": "Technology",
104+
"target": "all",
105+
"HandheldFriendly": "True",
106+
"MobileOptimized": "320",
107+
"apple-mobile-web-app-capable": "yes",
108+
"apple-mobile-web-app-status-bar-style": "black",
109+
"apple-mobile-web-app-title": "App Title",
110+
"application-name": "App Name",
111+
"msapplication-TileColor": "#000000",
112+
"msapplication-TileImage": "path/to/tile.png",
113+
"msapplication-config": "path/to/browserconfig.xml",
114+
"og:title": "Open Graph Title",
115+
"og:type": "website",
116+
"og:url": "https://example.com",
117+
"og:image": "https://example.com/image.jpg",
118+
"og:description": "Open Graph Description",
119+
"og:site_name": "Site Name",
120+
"og:locale": "en_US",
121+
"og:video": "https://example.com/video.mp4",
122+
"og:audio": "https://example.com/audio.mp3",
123+
"twitter:card": "summary",
124+
"twitter:site": "@username",
125+
"twitter:creator": "@username",
126+
"twitter:title": "Twitter Title",
127+
"twitter:description": "Twitter Description",
128+
"twitter:image": "https://example.com/image.jpg",
129+
"twitter:image:alt": "Image Description",
130+
"twitter:player": "https://example.com/player",
131+
"twitter:player:width": "480",
132+
"twitter:player:height": "480",
133+
"twitter:app:name:iphone": "App Name",
134+
"twitter:app:id:iphone": "12345",
135+
"twitter:app:url:iphone": "app://",
136+
"article:published_time": "2024-01-01T00:00:00+00:00",
137+
"article:modified_time": "2024-01-02T00:00:00+00:00",
138+
"article:expiration_time": "2024-12-31T00:00:00+00:00",
139+
"article:author": "Author Name",
140+
"article:section": "Technology",
141+
"article:tag": "tag1, tag2, tag3",
142+
"book:author": "Author Name",
143+
"book:isbn": "1234567890",
144+
"book:release_date": "2024-01-01",
145+
"book:tag": "tag1, tag2, tag3",
146+
"profile:first_name": "John",
147+
"profile:last_name": "Doe",
148+
"profile:username": "johndoe",
149+
"profile:gender": "male",
150+
"music:duration": "205",
151+
"music:album": "Album Name",
152+
"music:album:disc": "1",
153+
"music:album:track": "1",
154+
"music:musician": "Artist Name",
155+
"music:song": "Song Name",
156+
"music:song:disc": "1",
157+
"music:song:track": "1",
158+
"video:actor": "Actor Name",
159+
"video:actor:role": "Role Name",
160+
"video:director": "Director Name",
161+
"video:writer": "Writer Name",
162+
"video:duration": "120",
163+
"video:release_date": "2024-01-01",
164+
"video:tag": "tag1, tag2, tag3",
165+
"video:series": "Series Name"
166+
}
167+
}
168+
```
169+

0 commit comments

Comments
 (0)