Closed LucaNerlich closed 1 year ago
I agree, that is a good idea!
Great feature to have, thanks!
It would be nice to have an option to define custom meta tags too. In my case, I'd like to have each page accessible to citation managers like Zotero. See: https://www.zotero.org/support/dev/exposing_metadata
Integration of next-seo
will be available in the future beta release.
you can take a look at an example of the configuration of getNextSeoProps()
theme option here https://github.com/shuding/nextra/blob/core/examples/docs/src/theme.config.js#L20-L73
Also you can access to parsed frontMatter data in getNextSeoProps
function via useConfig
hook.
It would be greate, if (for each page) the opengraph tags could be generated based on the frontmatter from the corresponding markdown file. This would then generate the "share" preview card, when the blog url gets posted on social media, discord, slack etc.
Example:
Example OG Tags
https://ogp.me/