- Search Engine Optimization
Search Engine Optimization
Mintlify automatically generates most meta tags. If you want to customize them, you can set default values in mint.json or change them per page.
Default meta tags
You can set default meta tags by adding the metadata
field to your mint.json
.
mint.json
"metadata": {
"og:image": "link to your default meta tag image"
}
Changing meta tags on one page
Add your meta tags to the page’s metadata like so:
Top of your page
---
title: "Your Example Page Title"
"og:image": "link to your meta tag image"
---
Meta tags with colons need to be typed with quotes around them when you put them in the page metadata.
Sitemaps
Mintlify does not automatically generate sitemaps yet. We are launching sitemaps in February 2023.