Meta Tags and SEO
Meta tags impact how users will perceive a website when using a search engine and when a site appears on social media platforms. Flexible data modeling allows complete control over meta tags, which is critical to good SEO.
This recipe provides a basic implementation which you can modify and expand on to fit your specific needs.
Create a shape for site-wide defaults
Add fields for meta content to appropriate shapes
Query for meta tags
query {
getPostList {
total
items {
meta {
title
description
keywords
openGraphImage {
path
}
twitterCard
twitterImageAlt
}
}
}
}