Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Footer from "@/app/_components/footer";
import { HOME_OG_IMAGE_URL } from "@/lib/constants";
import { SITE_NAME, SITE_ORIGIN } from "@/lib/site";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
Expand All @@ -17,9 +16,11 @@ export const metadata: Metadata = {
template: `%s | ${SITE_NAME}`,
},
description: "A statically generated blog using Next.js and Markdown.",
// No site-wide share image: upstream's was a "Next.js Blog Starter
// Example" card rendered by og-image.vercel.app. Each post sets its own
// cover as og:image.
openGraph: {
siteName: SITE_NAME,
images: [HOME_OG_IMAGE_URL],
},
};

Expand Down
2 changes: 0 additions & 2 deletions apps/web/src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
export const CMS_NAME = "Markdown";
export const HOME_OG_IMAGE_URL =
"https://og-image.vercel.app/Next.js%20Blog%20Starter%20Example.png?theme=light&md=1&fontSize=100px&images=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Ffront%2Fassets%2Fdesign%2Fnextjs-black-logo.svg";
Loading