Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Conversation

@shkoliar
Copy link
Contributor

Description

Change adds the possibility to set SEO meta information directly from *.md or *.mdx files without shadowing components.

For example:

---
title: Page1 Title
description: Description text
keywords: [keyword1, keyword1]
meta: []

name: Page1
route: /page1
---

Configuring SEO information is on a per-page basis.

The page title can be customized and not depend on the page name.

If this extra information is not provided in *.md or *.mdx file, the page name is used as a fallback.

@jesperorb
Copy link

Seems reasonable, any reason why we would want to filter the frontmatter before passing to SEO/Helmet @rakannimer?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants