Skip to content

Commit 5c9a3b2

Browse files
committed
Adding common metatags
1 parent caa757f commit 5c9a3b2

File tree

1 file changed

+100
-1
lines changed

1 file changed

+100
-1
lines changed

settings/seo.mdx

Lines changed: 100 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,101 @@ 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+
74+
<Accordion title="View all common meta tags">
75+
```json
76+
"seo": {
77+
"metatags": {
78+
"robots": "noindex",
79+
"charset": "UTF-8",
80+
"viewport": "width=device-width, initial-scale=1.0",
81+
"description": "Page description",
82+
"keywords": "keyword1, keyword2, keyword3",
83+
"author": "Author Name",
84+
"robots": "index, follow",
85+
"googlebot": "index, follow",
86+
"google": "notranslate",
87+
"google-site-verification": "verification_token",
88+
"generator": "Mintlify",
89+
"theme-color": "#000000",
90+
"color-scheme": "light dark",
91+
"format-detection": "telephone=no",
92+
"referrer": "origin",
93+
"refresh": "30",
94+
"rating": "general",
95+
"revisit-after": "7 days",
96+
"language": "en",
97+
"copyright": "Copyright 2024",
98+
"reply-to": "[email protected]",
99+
"distribution": "global",
100+
"coverage": "Worldwide",
101+
"category": "Technology",
102+
"target": "all",
103+
"HandheldFriendly": "True",
104+
"MobileOptimized": "320",
105+
"apple-mobile-web-app-capable": "yes",
106+
"apple-mobile-web-app-status-bar-style": "black",
107+
"apple-mobile-web-app-title": "App Title",
108+
"application-name": "App Name",
109+
"msapplication-TileColor": "#000000",
110+
"msapplication-TileImage": "path/to/tile.png",
111+
"msapplication-config": "path/to/browserconfig.xml",
112+
"og:title": "Open Graph Title",
113+
"og:type": "website",
114+
"og:url": "https://example.com",
115+
"og:image": "https://example.com/image.jpg",
116+
"og:description": "Open Graph Description",
117+
"og:site_name": "Site Name",
118+
"og:locale": "en_US",
119+
"og:video": "https://example.com/video.mp4",
120+
"og:audio": "https://example.com/audio.mp3",
121+
"twitter:card": "summary",
122+
"twitter:site": "@username",
123+
"twitter:creator": "@username",
124+
"twitter:title": "Twitter Title",
125+
"twitter:description": "Twitter Description",
126+
"twitter:image": "https://example.com/image.jpg",
127+
"twitter:image:alt": "Image Description",
128+
"twitter:player": "https://example.com/player",
129+
"twitter:player:width": "480",
130+
"twitter:player:height": "480",
131+
"twitter:app:name:iphone": "App Name",
132+
"twitter:app:id:iphone": "12345",
133+
"twitter:app:url:iphone": "app://",
134+
"article:published_time": "2024-01-01T00:00:00+00:00",
135+
"article:modified_time": "2024-01-02T00:00:00+00:00",
136+
"article:expiration_time": "2024-12-31T00:00:00+00:00",
137+
"article:author": "Author Name",
138+
"article:section": "Technology",
139+
"article:tag": "tag1, tag2, tag3",
140+
"book:author": "Author Name",
141+
"book:isbn": "1234567890",
142+
"book:release_date": "2024-01-01",
143+
"book:tag": "tag1, tag2, tag3",
144+
"profile:first_name": "John",
145+
"profile:last_name": "Doe",
146+
"profile:username": "johndoe",
147+
"profile:gender": "male",
148+
"music:duration": "205",
149+
"music:album": "Album Name",
150+
"music:album:disc": "1",
151+
"music:album:track": "1",
152+
"music:musician": "Artist Name",
153+
"music:song": "Song Name",
154+
"music:song:disc": "1",
155+
"music:song:track": "1",
156+
"video:actor": "Actor Name",
157+
"video:actor:role": "Role Name",
158+
"video:director": "Director Name",
159+
"video:writer": "Writer Name",
160+
"video:duration": "120",
161+
"video:release_date": "2024-01-01",
162+
"video:tag": "tag1, tag2, tag3",
163+
"video:series": "Series Name"
164+
}
165+
}
166+
```
167+
</Accordion>

0 commit comments

Comments
 (0)