add meta description for world page
This commit is contained in:
parent
ae45b29e93
commit
d31c88115a
7 changed files with 36 additions and 13 deletions
|
@ -10,7 +10,12 @@ export const loader = async ({ params }: LoaderArgs) => {
|
|||
};
|
||||
|
||||
export const meta: V2_MetaFunction<typeof loader> = ({ data }) => {
|
||||
return [{ title: `${data?.world.name || "Unknown world"} | PS2.LIVE` }];
|
||||
return [
|
||||
{ title: `${data?.world.name || "Unknown world"} | PS2.LIVE` },
|
||||
{
|
||||
description: `${data?.world.name} currently has ${data?.world.population.total} players online right now. VS: ${data?.world.population.vs}, NC: ${data?.world.population.nc}, TR: ${data?.world.population.tr} -- See more detailed stats on ps2.live.`,
|
||||
},
|
||||
];
|
||||
};
|
||||
|
||||
export default function World() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue