@pcode-at/tinacms-seo v2.0.0
TinaCMS SEO
Mission and Vision
Our vision of this package is to create the one stop shop for all your SEO concerns using TinaCMS, similar to the Wordpress Plugin Yoast.
Getting started
Follow these 5 steps to include tinacms-seo in your project:
- Install the package:
npm install @pcode-at/tinacms-seoor
yarn add @pcode-at/tinacms-seodepending on your package manager.
NOTE: If you are using yarn (or an npm version that doesn't install peer dependencies automatically) then you have to install used peer dependencies by yourself manually:
yarn add next-seo- Import the required schema parts from the package:
import { defaultSeoPageProps, seoPageProps } from "@pcode-at/tinacms-seo";- Include it in your schema:
...
{
label: "Pages",
name: "pages",
path: "content/pages",
fields: [
seoPageProps,
{
... fields
},
],
...
},- Congratulations! 🎉 Now you should see an editable SEO object in your sidebar:


Expert mode
For usability reasons we do not expose all fields in defaultSeoPageProps and seoPageProps. If you have a usecase for full control about all seo relevant fields you can import expertDefaultSeoPageProps and expertSeoPageProps.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago