fix: add missing twitter:url meta tag across social meta sites

Also fill in twitter:title/twitter:description on the ATS checker page,
matching its existing og: tags.
This commit is contained in:
Amruth Pillai
2026-09-06 21:27:40 +02:00
parent e19f706efd
commit de9a6dcfad
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -32,6 +32,7 @@ export const createResumeSocialMeta = ({ canonicalUrl, title, description, image
{ property: "og:image", content: imageUrl },
// X only reads these as `name`, not `property`
{ name: "twitter:card", content: "summary_large_image" },
{ name: "twitter:url", content: canonicalUrl },
{ name: "twitter:title", content: title },
{ name: "twitter:description", content: description },
{ name: "twitter:image", content: imageUrl },
+1
View File
@@ -77,6 +77,7 @@ export const Route = createRootRouteWithContext<RouterContext>()({
// Twitter Tags — X only reads these as `name`, not `property`
{ name: "twitter:image", content: `${appUrl}/opengraph/banner.jpg` },
{ name: "twitter:card", content: "summary_large_image" },
{ name: "twitter:url", content: appUrl },
{ name: "twitter:title", content: title },
{ name: "twitter:description", content: description },
// OpenGraph Tags
@@ -36,6 +36,9 @@ export const Route = createFileRoute("/_home/ats-checker")({
{ property: "og:type", content: "website" },
{ property: "og:image", content: imageUrl },
{ name: "twitter:card", content: "summary_large_image" },
{ name: "twitter:url", content: canonicalUrl },
{ name: "twitter:title", content: PAGE_TITLE },
{ name: "twitter:description", content: PAGE_DESCRIPTION },
{ name: "twitter:image", content: imageUrl },
],
links: [{ rel: "canonical", href: canonicalUrl }],