coldbydefault-portfolio
    Preparing search index...

    Function generateHomeSEO

    • Generate SEO metadata for the homepage.

      Can't reuse buildCommonMetadata as-is: config.title here is already the complete homepage title (e.g. "Yazan Abo-Ayash | Full Stack Developer Portfolio - ColdByDefault™"), while buildCommonMetadata appends | ${siteName} on top of whatever title it's given — that would double up the site name. This mirrors buildCommonMetadata's shape otherwise.

      Parameters

      • locale: string = "en"

      Returns {
          alternates: { canonical: string };
          authors: { name: string }[];
          creator: string;
          description: string;
          keywords: string[];
          metadataBase: URL;
          openGraph: {
              description: string;
              images: { alt: string; height: number; url: string; width: number }[];
              locale: string;
              siteName: string;
              title: string;
              type: "website";
              url: string;
          };
          publisher: string;
          robots: {
              follow: boolean;
              googleBot: {
                  follow: boolean;
                  index: boolean;
                  "max-image-preview": "large";
                  "max-snippet": number;
                  "max-video-preview": number;
              };
              index: boolean;
          };
          title: { absolute: string };
          twitter: {
              card: TwitterCardType;
              creator: string;
              description: string;
              images: string[];
              title: string;
          };
      }