generated from code-forge-io/open-source-stack
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi the lib looks awesome, handling a bunch of things we need to get rolling on the page metadata. After an examination of the README, I noticed there is no mention for Open Graph Metatags or support for especific Social Media Cards like the ones from Twitter or Facebook.
So I want to ask if this could be added to the library, sticking to the lib style, in a way like:
import { xCard, facebookCard } from '@forge42/seo-tools/social-cards';
//...
export const meta: MetaFunction = ({ data }: MetaArgs) => {
return [
{ title: data.title},
xCard({...theThingsGoesInHere}),
facebookCard({...theThingsGoesInHere})
];
};If you think this might be usefull please let me know. I keep forgeting and relearning do this tags everytime, I think this might be usefull for a bunch of folks. And since we are doing Remix and RR7 websites all day long, it makes sense to have this feature on a lib like this. If you think is ok, I would like to make the PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels